aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/keg.rb
diff options
context:
space:
mode:
authorJack Nagel2014-06-26 18:48:31 -0500
committerJack Nagel2014-06-26 18:49:08 -0500
commitf786509703d6920daf0664c84ae5be0eab959e2a (patch)
treee429b24de729257d168ccef02a73b809af2e46c8 /Library/Homebrew/keg.rb
parent64333812faefa7dda18da16a5b19103fbe7eb2ea (diff)
downloadhomebrew-f786509703d6920daf0664c84ae5be0eab959e2a.tar.bz2
Give Keg#link_dir parameter a more descriptive name
Diffstat (limited to 'Library/Homebrew/keg.rb')
-rw-r--r--Library/Homebrew/keg.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Homebrew/keg.rb b/Library/Homebrew/keg.rb
index a04b19172..95b34e5c4 100644
--- a/Library/Homebrew/keg.rb
+++ b/Library/Homebrew/keg.rb
@@ -332,9 +332,9 @@ class Keg < Pathname
protected
- # symlinks the contents of self+foo recursively into #{HOMEBREW_PREFIX}/foo
- def link_dir foo, mode
- root = self+foo
+ # symlinks the contents of self+relative_dir recursively into #{HOMEBREW_PREFIX}/relative_dir
+ def link_dir relative_dir, mode
+ root = self+relative_dir
return unless root.exist?
root.find do |src|
next if src == root