shims/scm/git: Fix the search for brewed git
Search for brewed git in both locations: $HOMEBREW_PREFIX/Homebrew/Library/Homebrew/shims/scm/../../../../../bin/git $HOMEBREW_PREFIX/Library/Homebrew/shims/scm/../../../../bin/git
This commit is contained in:
parent
426c998ff5
commit
5c7d2d0bb5
@ -92,6 +92,9 @@ case "$(lowercase "$SCM_FILE")" in
|
||||
;;
|
||||
esac
|
||||
|
||||
brew_version="$(quiet_safe_cd "$SCM_DIR/../../../../../bin" && pwd -P)/$SCM_FILE"
|
||||
safe_exec "$brew_version" "$@"
|
||||
|
||||
brew_version="$(quiet_safe_cd "$SCM_DIR/../../../../bin" && pwd -P)/$SCM_FILE"
|
||||
safe_exec "$brew_version" "$@"
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user