diff options
author | John Keeping | 2013-03-06 21:22:09 +0000 |
---|---|---|
committer | Jason A. Donenfeld | 2013-03-20 21:08:32 +0100 |
commit | 7669f7f73082ce9eb1aef28495773492cc5bec90 (patch) | |
tree | 62fee1a884b46c3dfdda89f0c6e468988a6779de /cgit.mk | |
parent | d6768a67093166810621d2521f10fd016bd75721 (diff) | |
download | cgit-7669f7f73082ce9eb1aef28495773492cc5bec90.tar.gz cgit-7669f7f73082ce9eb1aef28495773492cc5bec90.tar.bz2 cgit-7669f7f73082ce9eb1aef28495773492cc5bec90.zip |
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.mk | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -9,7 +9,7 @@ CGIT_PREFIX = ../ | |||
9 | # main Makefile - they are defined there. | 9 | # main Makefile - they are defined there. |
10 | 10 | ||
11 | $(CGIT_PREFIX)VERSION: force-version | 11 | $(CGIT_PREFIX)VERSION: force-version |
12 | @cd $(CGIT_PREFIX) && ./gen-version.sh "$(CGIT_VERSION)" | 12 | @cd $(CGIT_PREFIX) && '$(SHELL_PATH_SQ)' ./gen-version.sh "$(CGIT_VERSION)" |
13 | -include $(CGIT_PREFIX)VERSION | 13 | -include $(CGIT_PREFIX)VERSION |
14 | .PHONY: force-version | 14 | .PHONY: force-version |
15 | 15 | ||