aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2010-08-20 09:56:34 -0700
committerAdam Vandenberg2010-08-20 10:03:38 -0700
commit7080ea0de6d2be573d5ef0bd8c012cfde81cd526 (patch)
treeae802b75537c1c02b526edc14a2f5524fa595144 /Library
parent5ff48066f1093001f38b850a260b8c2bbb553a06 (diff)
downloadbrew-7080ea0de6d2be573d5ef0bd8c012cfde81cd526.tar.bz2
Add 'HOMEBREW_DEBUG_PREFIX'
When doing "brew install -i", set the "HOMEBREW_DEBUG_PREFIX" variable to the prefix of the formula being installed.
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/Homebrew/install.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/install.rb b/Library/Homebrew/install.rb
index b4ead5a27..466277930 100755
--- a/Library/Homebrew/install.rb
+++ b/Library/Homebrew/install.rb
@@ -85,6 +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
nil