From a089f4e2230f5b58c8c2b4bcebaaba9ac40bf5eb Mon Sep 17 00:00:00 2001 From: eschnett Date: Fri, 3 Dec 2010 21:30:39 +0000 Subject: Handle spaces in PATH git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/Formaline/trunk@195 83718e91-0e4f-0410-abf4-91180603181f --- src/make.configuration.deps | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/make.configuration.deps b/src/make.configuration.deps index 5cd04e1..b623283 100644 --- a/src/make.configuration.deps +++ b/src/make.configuration.deps @@ -277,7 +277,7 @@ endif # Does git exist, or should we do nothing instead? -GIT-CMD := $(shell env PATH=$(SCRATCH_BUILD)/git-1.6.6.1/bin:$(SCRATCH_BUILD)/git-1.6.0.6/bin:$$HOME/git/bin:$$PATH which git) +GIT-CMD := $(shell env PATH="$(SCRATCH_BUILD)/git-1.6.6.1/bin:$(SCRATCH_BUILD)/git-1.6.0.6/bin:$$HOME/git/bin:$$PATH" which git) HAVE-GIT := $(shell '$(GIT-CMD)' --version > /dev/null 2>&1 && echo 'true' || echo 'false') GIT := $(shell $(HAVE-GIT) && echo '$(FORMALINE_BIN_DIR)/git-lock.pl $(GIT-CMD)' || { echo 'Formaline: WARNING: git command not found' >&2 && echo 'true'; }) -- cgit v1.2.3