diff options
author | 2012-05-31 12:53:45 -0500 | |
---|---|---|
committer | 2013-06-04 10:11:34 +0100 | |
commit | 2be50eae75ef1d6c83a0546ebe7309f368b5824f (patch) | |
tree | 51bd4471778eee42ebba3dd7c52fdd04de1aea69 /Makefile | |
parent | Provide a Windows version resource for the git executables. (diff) | |
download | tgif-2be50eae75ef1d6c83a0546ebe7309f368b5824f.tar.xz |
Windows resource: handle dashes in the Git version gracefully
Reported by postiffm as issue #14.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1777,7 +1777,7 @@ $(SCRIPT_LIB) : % : %.sh GIT-SCRIPT-DEFINES git.res: git.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 $@ ifndef NO_PERL |