aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreschnett <eschnett@83718e91-0e4f-0410-abf4-91180603181f>2010-12-03 21:30:39 +0000
committereschnett <eschnett@83718e91-0e4f-0410-abf4-91180603181f>2010-12-03 21:30:39 +0000
commita089f4e2230f5b58c8c2b4bcebaaba9ac40bf5eb (patch)
tree11238e5396e722ec588b28a1bd2fc9797dea3299
parent148d8a3ee318128f0b048547299eb57b14c4d670 (diff)
Handle spaces in PATH
git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/Formaline/trunk@195 83718e91-0e4f-0410-abf4-91180603181f
-rw-r--r--src/make.configuration.deps2
1 files changed, 1 insertions, 1 deletions
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'; })