Merge branch 'kn/for-each-tag'
[gitweb.git] / Makefile
index e326fa09c0ac3f1b8700495ea7a1bf007aa170d6..8d5df7ea1ee672753e2f29302ef9a1a7db77638e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1703,7 +1703,7 @@ $(BUILT_INS): git$X
 common-cmds.h: generate-cmdlist.sh command-list.txt
 
 common-cmds.h: $(wildcard Documentation/git-*.txt)
-       $(QUIET_GEN)./generate-cmdlist.sh command-list.txt >$@+ && mv $@+ $@
+       $(QUIET_GEN)$(SHELL_PATH) ./generate-cmdlist.sh command-list.txt >$@+ && mv $@+ $@
 
 SCRIPT_DEFINES = $(SHELL_PATH_SQ):$(DIFF_SQ):$(GIT_VERSION):\
        $(localedir_SQ):$(NO_CURL):$(USE_GETTEXT_SCHEME):$(SANE_TOOL_PATH_SQ):\