diff --git a/Library/Homebrew/keg.rb b/Library/Homebrew/keg.rb index e1df0adb5b..7b4ad84fd0 100644 --- a/Library/Homebrew/keg.rb +++ b/Library/Homebrew/keg.rb @@ -206,7 +206,7 @@ class Keg < Pathname end end - # symlinks the contents of self+foo recursively into /usr/local/foo + # symlinks the contents of self+foo recursively into #{HOMEBREW_PREFIX}/foo def link_dir foo, mode=OpenStruct.new root = self+foo return unless root.exist?