mirror of
https://github.com/gosticks/brew.git
synced 2026-10-06 23:46:56 +00:00
shims/scm: handle missing Subversion on Catalina.
Fixes https://github.com/Homebrew/brew/issues/7781
This commit is contained in:
@@ -137,8 +137,11 @@ fi
|
||||
path="/Applications/Xcode.app/Contents/Developer/usr/bin/$SCM_FILE"
|
||||
safe_exec "$path" "$@"
|
||||
|
||||
path="/usr/bin/$SCM_FILE"
|
||||
[[ -z "$popup_stub" ]] && safe_exec "$path" "$@"
|
||||
if [[ -z "$popup_stub" && "$HOMEBREW_MACOS_VERSION_NUMERIC" -lt "101500" ]]
|
||||
then
|
||||
path="/usr/bin/$SCM_FILE"
|
||||
safe_exec "$path" "$@"
|
||||
fi
|
||||
|
||||
echo "You must: brew install $SCM_FILE" >&2
|
||||
exit 1
|
||||
|
||||
Reference in New Issue
Block a user