aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/dependencies.rb
diff options
context:
space:
mode:
authorMisty De Meo2012-08-09 16:33:41 -0500
committerMisty De Meo2012-08-09 16:33:49 -0500
commitd58fc0c2e43e5a5f5d60c149cfb44c0fbde96383 (patch)
tree03ed90223568a16333d6dbd45e6936cac4712623 /Library/Homebrew/dependencies.rb
parentab80dfc5b784c0da894855016a5140a75e28e696 (diff)
downloadbrew-d58fc0c2e43e5a5f5d60c149cfb44c0fbde96383.tar.bz2
dev_tools_path: Don't trust exit status of xcrun
A user on IRC was getting strange results from MacOS.dev_tools_path. It turns out that xcrun's exit status is not always reliable - if xcrun is a shim and not able to locate the real xcrun, it will exit 0 despite not actually doing what it was asked. Instead check to see if the stout is empty.
Diffstat (limited to 'Library/Homebrew/dependencies.rb')
0 files changed, 0 insertions, 0 deletions