diff options
| author | Jack Nagel | 2012-02-26 15:01:01 -0600 |
|---|---|---|
| committer | Jack Nagel | 2012-02-26 15:01:01 -0600 |
| commit | 5d58792c5ef7b4b99ba3043c1da1961d9e87911d (patch) | |
| tree | 8cdda09e4673b17e4783a12b793f54f0eadd41d9 /Library | |
| parent | 5c7c82baf88f10c126ab5125bb363a562ba61821 (diff) | |
| download | brew-5d58792c5ef7b4b99ba3043c1da1961d9e87911d.tar.bz2 | |
Fix IO redirection in ENV.xcrun
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/extend/ENV.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/extend/ENV.rb b/Library/Homebrew/extend/ENV.rb index 996f69494..5b002221b 100644 --- a/Library/Homebrew/extend/ENV.rb +++ b/Library/Homebrew/extend/ENV.rb @@ -94,7 +94,7 @@ module HomebrewEnvExtension def xcrun tool if File.executable? "/usr/bin/#{tool}" "/usr/bin/#{tool}" - elsif not MacOS.xctools_fucked? and system "/usr/bin/xcrun -find #{tool} 2>1 1>/dev/null" + elsif not MacOS.xctools_fucked? and system "/usr/bin/xcrun -find #{tool} 1>/dev/null 2>&1" # xcrun was provided first with Xcode 4.3 and allows us to proxy # tool usage thus avoiding various bugs "/usr/bin/xcrun #{tool}" |
