Move verbose ENV setup out of brew.rb

This commit is contained in:
Jack Nagel 2013-10-19 10:41:09 -05:00
parent 6551643127
commit 27f7e3503f
2 changed files with 1 additions and 2 deletions

View File

@ -70,6 +70,7 @@ module Superenv
self['HOMEBREW_BREW_FILE'] = HOMEBREW_BREW_FILE
self['HOMEBREW_SDKROOT'] = "#{MacOS.sdk_path}" if MacOS::Xcode.without_clt?
self['HOMEBREW_DEVELOPER_DIR'] = determine_developer_dir # used by our xcrun shim
self['HOMEBREW_VERBOSE'] = "1" if ARGV.verbose?
self['CMAKE_PREFIX_PATH'] = determine_cmake_prefix_path
self['CMAKE_FRAMEWORK_PATH'] = determine_cmake_frameworks_path
self['CMAKE_INCLUDE_PATH'] = determine_cmake_include_path

View File

@ -58,8 +58,6 @@ end
begin
trap("INT", std_trap) # restore default CTRL-C handler
ENV['HOMEBREW_VERBOSE'] = "1" if ARGV.verbose?
aliases = {'ls' => 'list',
'homepage' => 'home',
'-S' => 'search',