Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix: put auto-detected Makefile path into a variable, but keep

GIT_EXEC_PATH overrideable via Makefile command arguments.
  • Loading branch information...
commit 677334c60a23281e540c77a125ffb7426980ab2e 1 parent 6d74722
@nvie authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  Makefile
View
3  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
Please sign in to comment.
Something went wrong with that request. Please try again.