mirror of
https://git.zx2c4.com/cgit
synced 2024-11-26 02:18:42 +00:00
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>
This commit is contained in:
parent
d6768a6709
commit
7669f7f730
2
cgit.mk
2
cgit.mk
@ -9,7 +9,7 @@ CGIT_PREFIX = ../
|
|||||||
# main Makefile - they are defined there.
|
# main Makefile - they are defined there.
|
||||||
|
|
||||||
$(CGIT_PREFIX)VERSION: force-version
|
$(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
|
-include $(CGIT_PREFIX)VERSION
|
||||||
.PHONY: force-version
|
.PHONY: force-version
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user