Run GIT-VERSION-GEN with $(SHELL), not sh.
[gitweb.git] / Makefile
index 30460560247f9e210b41207434793ce6b29b83b2..245f658375ab560cc04a25e9082d1ca409a1bb26 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -67,7 +67,7 @@ all:
 # change being considered an inode change from the update-cache perspective.
 
 GIT-VERSION-FILE: .FORCE-GIT-VERSION-FILE
-       @sh ./GIT-VERSION-GEN
+       @$(SHELL) ./GIT-VERSION-GEN
 -include GIT-VERSION-FILE
 
 # CFLAGS and LDFLAGS are for the users to override from the command line.