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
commitcaca2514d2d508294e8de20beb459ab460e5cabb (patch)
treef32f0c2ef6091c6f5ebb80da1ee4ff9d37f7d0e1 /Library
parent3ed659f9be94f9b0e629bd1b912a079cae519170 (diff)
downloadhomebrew-caca2514d2d508294e8de20beb459ab460e5cabb.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