diff options
| author | Max Howell | 2012-08-31 14:12:14 -0400 |
|---|---|---|
| committer | Max Howell | 2012-08-31 14:12:28 -0400 |
| commit | 8a9073fa42fdeefb89be1d5976a7dd44d95276d4 (patch) | |
| tree | 8940069a847009234876aee181bd9a4e7c736210 /Library/Homebrew/cmd | |
| parent | 30b53cf92ab217fe572b9145300fc8ee443de633 (diff) | |
| download | brew-8a9073fa42fdeefb89be1d5976a7dd44d95276d4.tar.bz2 | |
Set VERBOSE and HOMEBREW_LOG in `brew sh`
Diffstat (limited to 'Library/Homebrew/cmd')
| -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 |
