DORMANTno replies

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

From: Jason Riedy <hidden>
Date: 2016-06-15 22:42:17
Subsystem: kernel build + files below scripts/ (unless maintained elsewhere), the rest · Maintainers: Nathan Chancellor, Nicolas Schier, Linus Torvalds

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

Signed-off-by: Jason Riedy <redacted>

---

 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help