Run GIT-VERSION-GEN with $(SHELL), not sh.

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>
This commit is contained in:
Jason Riedy 2006-01-25 12:37:51 -08:00 committed by Junio C Hamano
parent fc5be4fdaa
commit 5ea06e2014

View File

@ -67,7 +67,7 @@ all:
# change being considered an inode change from the update-cache perspective. # change being considered an inode change from the update-cache perspective.
GIT-VERSION-FILE: .FORCE-GIT-VERSION-FILE GIT-VERSION-FILE: .FORCE-GIT-VERSION-FILE
@sh ./GIT-VERSION-GEN @$(SHELL) ./GIT-VERSION-GEN
-include GIT-VERSION-FILE -include GIT-VERSION-FILE
# CFLAGS and LDFLAGS are for the users to override from the command line. # CFLAGS and LDFLAGS are for the users to override from the command line.