Skip to content

Commit

Permalink
Run GIT-VERSION-GEN with $(SHELL), not sh.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jason Riedy authored and Junio C Hamano committed Jan 25, 2006
1 parent fc5be4f commit 5ea06e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 5ea06e2

Please sign in to comment.