Skip to contentSkip to conversation

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

PATCH New Jason Riedy 1 participant 1 message Jun 15, 2016 Kbuild

lore
Share & tools
lore
#0 lore raw

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

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

---

 Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

ba55c17e4888568cf17da569f95f11e27a26072d

Makefile +1 -1
index 3046056..245f658 100644
@@ -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.
Signature · 1 line
1.0.GIT