diff options
| author | Misty De Meo | 2013-03-20 10:21:58 -0500 |
|---|---|---|
| committer | Misty De Meo | 2013-03-20 10:52:51 -0500 |
| commit | 81f9aef2458685e9416f1d8c4d0c86f340d69cfa (patch) | |
| tree | f9c9171199fd5c46cc029920c53411ec5124fa12 /Library/Homebrew | |
| parent | 16672b9d826988535f6684ec0b4ddb41da7ddc89 (diff) | |
| download | brew-81f9aef2458685e9416f1d8c4d0c86f340d69cfa.tar.bz2 | |
superenv?: fail when xcode43_developer_dir raises
Diffstat (limited to 'Library/Homebrew')
| -rw-r--r-- | Library/Homebrew/superenv.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Homebrew/superenv.rb b/Library/Homebrew/superenv.rb index 993a51b1e..345943959 100644 --- a/Library/Homebrew/superenv.rb +++ b/Library/Homebrew/superenv.rb @@ -19,9 +19,12 @@ end def superenv? not (MacSystem.xcode43_without_clt? and MacOS.sdk_path.nil?) and # because superenv will fail to find stuff + MacSystem.xcode43_developer_dir and # because superenv's logic might not find it not MacOS::Xcode.folder.nil? and # because xcrun won't work superbin and superbin.directory? and not ARGV.include? "--env=std" +rescue # blanket rescue because there are naked raises + false end class << ENV |
