Skip to content

Commit

Permalink
Fix: put auto-detected Makefile path into a variable, but keep
Browse files Browse the repository at this point in the history
GIT_EXEC_PATH overrideable via Makefile command arguments.
  • Loading branch information
nvie committed Feb 21, 2010
1 parent 6d74722 commit 677334c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 677334c

Please sign in to comment.