diff options
| author | Max Howell | 2012-03-02 00:59:22 +0000 |
|---|---|---|
| committer | Max Howell | 2012-03-02 00:59:39 +0000 |
| commit | 7cedf676804225b7f2d8ee031f5c02afc761a619 (patch) | |
| tree | 9bb089cf182afebe842e241708a95b77276d9d8d /bin | |
| parent | d9fdd401da4409cb33b0f336ae1293af830fea7c (diff) | |
| download | brew-7cedf676804225b7f2d8ee031f5c02afc761a619.tar.bz2 | |
Scupper sourceable output if brew install is piped
`brew install > file` should not give "export CC=/foo" output on Build Failures.
Also moved the "Using clang" output to brew when BuildError is thrown as that is where it is interesting, and not if you just do `brew --env`.
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/brew | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -118,6 +118,9 @@ rescue BuildError => e ohai "Environment" puts Homebrew.config_s ohai "Build Flags" + puts %["--use-clang" was specified] if ARGV.include? '--use-clang' + puts %["--use-llvm" was specified] if ARGV.include? '--use-llvm' + puts %["--use-gcc" was specified] if ARGV.include? '--use-gcc' Homebrew.dump_build_env e.env puts onoe e |
