Add 'HOMEBREW_DEBUG_PREFIX'

When doing "brew install -i", set the "HOMEBREW_DEBUG_PREFIX"
variable to the prefix of the formula being installed.
This commit is contained in:
Adam Vandenberg 2010-08-20 09:56:34 -07:00
parent 5ff48066f1
commit 7080ea0de6

View File

@ -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