aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Homebrew/cmd/update-bash.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/update-bash.sh b/Library/Homebrew/cmd/update-bash.sh
index b9ea060ae..47b811e4b 100644
--- a/Library/Homebrew/cmd/update-bash.sh
+++ b/Library/Homebrew/cmd/update-bash.sh
@@ -271,6 +271,7 @@ EOS
odie "Git must be installed and in your PATH!"
fi
fi
+ hash -p "$(cd "$(dirname "$(which_git)")" && pwd -P)/git" git
if [[ -z "$HOMEBREW_VERBOSE" ]]
then