зеркало из https://github.com/microsoft/git.git
Windows resource: handle dashes in the Git version gracefully
Reported by postiffm as issue #14. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This commit is contained in:
Родитель
ce39c2e04c
Коммит
2be50eae75
2
Makefile
2
Makefile
|
@ -1777,7 +1777,7 @@ $(SCRIPT_LIB) : % : %.sh GIT-SCRIPT-DEFINES
|
||||||
|
|
||||||
git.res: git.rc
|
git.res: git.rc
|
||||||
$(QUIET_RC)$(RC) \
|
$(QUIET_RC)$(RC) \
|
||||||
$(join -DMAJOR= -DMINOR= -DPATCH=, $(wordlist 1,3,$(subst ., ,$(GIT_VERSION)))) \
|
$(join -DMAJOR= -DMINOR= -DPATCH=, $(wordlist 1,3,$(subst -, ,$(subst ., ,$(GIT_VERSION))))) \
|
||||||
-DGIT_VERSION="\\\"$(GIT_VERSION)\\\"" $< -o $@
|
-DGIT_VERSION="\\\"$(GIT_VERSION)\\\"" $< -o $@
|
||||||
|
|
||||||
ifndef NO_PERL
|
ifndef NO_PERL
|
||||||
|
|
Загрузка…
Ссылка в новой задаче