commit | 677334c60a23281e540c77a125ffb7426980ab2e | [log] [tgz] |
---|---|---|
author | Vincent Driessen <vincent@datafox.nl> | 周日 2月 21 11:48:23 2010 +0100 |
committer | Vincent Driessen <vincent@datafox.nl> | 周日 2月 21 11:48:23 2010 +0100 |
tree | 40458736b5c0f1fa10c090e378fb28251fc16be2 | |
parent | 6d74722d7231f5162650abe6ad02b9b0f74c98da [diff] |
Fix: put auto-detected Makefile path into a variable, but keep GIT_EXEC_PATH overrideable via Makefile command arguments.
diff --git a/Makefile b/Makefile index 8b13f2d..11bf22d 100644 --- a/Makefile +++ b/Makefile
@@ -1,4 +1,5 @@ -GIT_EXEC_PATH=`git --exec-path 2>/dev/null || echo /usr/libexec/git-core` +AUTO_DETECTED_GIT_EXEC_PATH := $(shell git --exec-path 2>/dev/null || echo /usr/libexec/git-core) +GIT_EXEC_PATH=$(AUTO_DETECTED_GIT_EXEC_PATH) # files that need mode 755 EXEC_FILES=git-flow