interactive_shell: use Formula#full_name

This commit is contained in:
Xu Cheng 2015-05-27 21:32:10 +08:00
parent 932afdd9be
commit b931b98d35

View File

@ -85,7 +85,7 @@ end
def interactive_shell f=nil
unless f.nil?
ENV['HOMEBREW_DEBUG_PREFIX'] = f.prefix
ENV['HOMEBREW_DEBUG_INSTALL'] = f.name
ENV['HOMEBREW_DEBUG_INSTALL'] = f.full_name
end
Process.wait fork { exec ENV['SHELL'] }