aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/install.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2010-08-20 10:01:49 -0700
committerAdam Vandenberg2010-08-20 10:03:44 -0700
commitc1e293f5a4297fdec5d4335013f0e3820194dd58 (patch)
tree4587d07d6f9c4c949aa374c26003aec447ce345c /Library/Homebrew/install.rb
parent7080ea0de6d2be573d5ef0bd8c012cfde81cd526 (diff)
downloadbrew-c1e293f5a4297fdec5d4335013f0e3820194dd58.tar.bz2
Let 'interactive_shell' take a formula and set ENV vars.
Pull duplicate code out of install --debug and install -i up into 'interactive_shell'.
Diffstat (limited to 'Library/Homebrew/install.rb')
-rwxr-xr-xLibrary/Homebrew/install.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/Library/Homebrew/install.rb b/Library/Homebrew/install.rb
index 466277930..722accb52 100755
--- a/Library/Homebrew/install.rb
+++ b/Library/Homebrew/install.rb
@@ -85,9 +85,7 @@ def install f
puts "to copy the diff to the clipboard."
end
- ENV['HOMEBREW_DEBUG_PREFIX'] = f.prefix
- ENV['HOMEBREW_DEBUG_INSTALL'] = f.name
- interactive_shell
+ interactive_shell f
nil
elsif ARGV.include? '--help'
system './configure --help'