threads / patch / 3149

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

Subject: [PATCH] Run GIT-VERSION-GEN with $(SHELL), not sh.

## tl;dr

One message between Jan 25, 2006 and Jan 25, 2006. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Jason Riedy· Jan 25, 2006, 20:37 UTC · lore

Alas, not all shells named sh are capable enough to run GIT-VERSION-GEN.

Signed-off-by: Jason Riedy <ejr@cs.berkeley.edu>
---
 Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
ba55c17e4888568cf17da569f95f11e27a26072d
Show changes to Makefile +1 −1
diff --git a/Makefile b/Makefile
index 3046056..245f658 100644
--- 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.
-- 
1.0.GIT

← back to recent threads