aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/formula.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/formula.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/formula.rb')
-rw-r--r--Library/Homebrew/formula.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index eed9a5957..c3de92f9a 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -203,8 +203,7 @@ class Formula
puts "If nothing is installed or the shell exits with a non-zero error code,"
puts "Homebrew will abort. The installation prefix is:"
puts prefix
- ENV['HOMEBREW_DEBUG_INSTALL'] = name
- interactive_shell
+ interactive_shell self
end
end
end