diff options
| author | Max Howell | 2012-08-31 14:12:14 -0400 |
|---|---|---|
| committer | Max Howell | 2012-08-31 14:12:28 -0400 |
| commit | 174e84b44248b44a3fd4da19611ba3e8c83b99bb (patch) | |
| tree | ed803f04678d12b1791e7c0d82169df2954ea685 /Library | |
| parent | eab09fc267b0cb13b3f8ba3fb9aec07065948408 (diff) | |
| download | homebrew-174e84b44248b44a3fd4da19611ba3e8c83b99bb.tar.bz2 | |
Set VERBOSE and HOMEBREW_LOG in `brew sh`
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cmd/sh.rb | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/Library/Homebrew/cmd/sh.rb b/Library/Homebrew/cmd/sh.rb index e62ef90c9..5a6e45f44 100644 --- a/Library/Homebrew/cmd/sh.rb +++ b/Library/Homebrew/cmd/sh.rb @@ -9,13 +9,16 @@ module Homebrew extend self end ENV.setup_build_environment ENV['PS1'] = 'brew \[\033[1;32m\]\w\[\033[0m\]$ ' + ENV['VERBOSE'] = '1' + ENV['HOMEBREW_LOG'] = '1' puts <<-EOS.undent_________________________________________________________72 - Your shell has been configured to use Homebrew's build environment: this - should help you build stuff. Notably though, the system versions of gem - and pip will ignore our configuration and insist on using the + Your shell has been configured to use Homebrew's build environment: + this should help you build stuff. Notably though, the system versions of + gem and pip will ignore our configuration and insist on using the environment they were built under (mostly). Sadly, scons will also ignore our configuration. - When done, type `exit'. + All toolchain use will be logged to: ~/Library/Homebrew/Logs/cc.log + When done, type `exit'. EOS exec ENV['SHELL'] end |
