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

1 messages from 2006-01-25 to 2006-01-25. Participants: Jason Riedy.
Thread: https://gitlist.dev/t/3149

## Jason Riedy, 2006-01-25 20:37

Subject: [PATCH] Run GIT-VERSION-GEN with $(SHELL), not sh.
Message-ID: <10802.1138221471@lotus.CS.Berkeley.EDU>
URL: https://gitlist.dev/e/10802.1138221471%40lotus.CS.Berkeley.EDU

```
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
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

```
