Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.zx2c4.com/cgit.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Keeping <john@keeping.me.uk>2013-03-07 01:22:09 +0400
committerJason A. Donenfeld <Jason@zx2c4.com>2013-03-21 00:08:32 +0400
commit7669f7f73082ce9eb1aef28495773492cc5bec90 (patch)
tree62fee1a884b46c3dfdda89f0c6e468988a6779de /cgit.mk
parentd6768a67093166810621d2521f10fd016bd75721 (diff)
cgit.mk: Use SHELL_PATH_SQ to run gen-version.sh
On some platforms (notably Solaris) /bin/sh doesn't support enough of POSIX for gen-version.sh to run. Git's Makefile provides SHELL_PATH_SQ to address this issue so we just have to use it. Signed-off-by: John Keeping <john@keeping.me.uk>
Diffstat (limited to 'cgit.mk')
-rw-r--r--cgit.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/cgit.mk b/cgit.mk
index c8ecd3a..e1aed63 100644
--- a/cgit.mk
+++ b/cgit.mk
@@ -9,7 +9,7 @@ CGIT_PREFIX = ../
# main Makefile - they are defined there.
$(CGIT_PREFIX)VERSION: force-version
- @cd $(CGIT_PREFIX) && ./gen-version.sh "$(CGIT_VERSION)"
+ @cd $(CGIT_PREFIX) && '$(SHELL_PATH_SQ)' ./gen-version.sh "$(CGIT_VERSION)"
-include $(CGIT_PREFIX)VERSION
.PHONY: force-version