aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Homebrew/keg.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/keg.rb b/Library/Homebrew/keg.rb
index ab8a45300..1d0d14e7e 100644
--- a/Library/Homebrew/keg.rb
+++ b/Library/Homebrew/keg.rb
@@ -255,7 +255,7 @@ class Keg < Pathname
end
# symlinks the contents of self+foo recursively into #{HOMEBREW_PREFIX}/foo
- def link_dir foo, mode=OpenStruct.new
+ def link_dir foo, mode
root = self+foo
return unless root.exist?
root.find do |src|