Skip to content
Snippets Groups Projects
Unverified Commit 7c7a0fc7 authored by Misty De Meo's avatar Misty De Meo
Browse files

brew.sh: don't call xcode-select if it doesn't exist

parent 6453c81d
No related branches found
No related tags found
No related merge requests found
......@@ -145,7 +145,7 @@ export HOMEBREW_MACOS_VERSION
export HOMEBREW_USER_AGENT
export HOMEBREW_USER_AGENT_CURL
if [[ -n "$HOMEBREW_MACOS" ]]
if [[ -n "$HOMEBREW_MACOS" && -x "/usr/bin/xcode-select" ]]
then
XCODE_SELECT_PATH=$('/usr/bin/xcode-select' --print-path 2>/dev/null)
if [[ "$XCODE_SELECT_PATH" = "/" ]]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment