diff options
| author | Max Howell | 2012-03-02 00:59:22 +0000 | 
|---|---|---|
| committer | Max Howell | 2012-03-02 00:59:39 +0000 | 
| commit | 9d98450b90d5b7bc2edee82fa3e30736d4d8e659 (patch) | |
| tree | 2f694a7736b53964a6921f6f5efd89a8c2f04579 /bin | |
| parent | fead26420bc9f44aa1ec1884ad58895e197a005d (diff) | |
| download | homebrew-9d98450b90d5b7bc2edee82fa3e30736d4d8e659.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 | 
