cgit

commit 7669f7f73082ce9eb1aef28495773492cc5bec90

Author: John Keeping <john@keeping.me.uk>

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>

 cgit.mk | 2 +-


diff --git a/cgit.mk b/cgit.mk
index c8ecd3a4b1e3b22a720a39a3ab30c94d05a4f8a3..e1aed63a3adc9070fe61b5a514053dcbca541167 100644
--- a/cgit.mk
+++ b/cgit.mk
@@ -9,7 +9,7 @@ # The CGIT_* variables are inherited when this file is called from the
 # 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