Code

Run GIT-VERSION-GEN with $(SHELL), not sh.
authorJason Riedy <ejr@EECS.Berkeley.EDU>
Wed, 25 Jan 2006 20:37:51 +0000 (12:37 -0800)
committerJunio C Hamano <junkio@cox.net>
Wed, 25 Jan 2006 23:10:37 +0000 (15:10 -0800)
Alas, not all shells named sh are capable enough to run
GIT-VERSION-GEN.

Signed-off-by: Jason Riedy <ejr@cs.berkeley.edu>
Signed-off-by: Junio C Hamano <junkio@cox.net>
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.