aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2016-07-15 19:38:16 +0100
committerMike McQuaid2016-07-15 19:38:27 +0100
commit0d0519d48d32b9f12d37edb5a5127f34d70d8347 (patch)
treed97344aac54e39c8431aa15e5ce04e6ec1a7d28b /Library
parenta07ab8bb92da082078203301a22eef68eaf3d0ac (diff)
downloadbrew-0d0519d48d32b9f12d37edb5a5127f34d70d8347.tar.bz2
update.sh: fix Git path.
Closes https://github.com/Homebrew/brew/issues/519 Closes https://github.com/Homebrew/homebrew-core/issues/3029
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/update.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/update.sh b/Library/Homebrew/cmd/update.sh
index e9ad69c06..9feb0a7b9 100644
--- a/Library/Homebrew/cmd/update.sh
+++ b/Library/Homebrew/cmd/update.sh
@@ -14,7 +14,7 @@ source "$HOMEBREW_LIBRARY/Homebrew/utils/lock.sh"
git() {
if [[ -z "$GIT_EXECUTABLE" ]]
then
- GIT_EXECUTABLE="$("$HOMEBREW_LIBRARY/Homebrew/scm/git" --homebrew=print-path)"
+ GIT_EXECUTABLE="$("$HOMEBREW_LIBRARY/Homebrew/shims/scm/git" --homebrew=print-path)"
fi
"$GIT_EXECUTABLE" "$@"
}