git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Jason Riedy <ejr@eecs.berkeley.edu>
Date
Jan 25, 2006, 20:37 UTC
Message-ID
<10802.1138221471@lotus.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
Message 1 of 1 in “Run GIT-VERSION-GEN with $(SHELL), not sh.”
  1. Run GIT-VERSION-GEN with $(SHELL), not sh.Jason Riedy, Jan 25, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.