Bug 1657420 - Use single quotes instead of double quotes for the version_win.py command. r=dmajor

On Windows, with the double quotes, the command goes through the msys
shell, which then alters the command line such that empty arguments are
transformed into \ when they reach python.

With the single quotes, make invokes the command directly, without going
through the msys shell, and empty arguments are preserved.

Differential Revision: https://phabricator.services.mozilla.com/D86097
This commit is contained in:
Mike Hommey 2020-08-05 22:48:45 +00:00
Родитель 501012a976
Коммит 53979f7c8a
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -33,7 +33,7 @@ GARBAGE += $(RESFILE) $(RCFILE)
all::
$(RCFILE): $(RCINCLUDE) $(MOZILLA_DIR)/config/version_win.py
$(PYTHON3) $(MOZILLA_DIR)/config/version_win.py "$(_RC_BINARY)" "$(RCINCLUDE)"
$(PYTHON3) $(MOZILLA_DIR)/config/version_win.py '$(_RC_BINARY)' '$(RCINCLUDE)'
endif # RESFILE
endif # Windows