diff options
-rw-r--r-- | src/make.configuration.deps | 2 |
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'; }) |