Give Keg#link_dir parameter a more descriptive name
This commit is contained in:
parent
64d5aef0bc
commit
62b29e7686
@ -332,9 +332,9 @@ class Keg < Pathname
|
|||||||
|
|
||||||
protected
|
protected
|
||||||
|
|
||||||
# symlinks the contents of self+foo recursively into #{HOMEBREW_PREFIX}/foo
|
# symlinks the contents of self+relative_dir recursively into #{HOMEBREW_PREFIX}/relative_dir
|
||||||
def link_dir foo, mode
|
def link_dir relative_dir, mode
|
||||||
root = self+foo
|
root = self+relative_dir
|
||||||
return unless root.exist?
|
return unless root.exist?
|
||||||
root.find do |src|
|
root.find do |src|
|
||||||
next if src == root
|
next if src == root
|
||||||
|
Loading…
x
Reference in New Issue
Block a user