aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/keg.rb
diff options
context:
space:
mode:
authorJack Nagel2014-06-30 21:56:46 -0500
committerJack Nagel2014-06-30 22:14:18 -0500
commit3f6acdc842facfc2807dd20a90bc78ab887e40d1 (patch)
tree9c1cd6841991ba0894279f0ec119e03c3799cd8c /Library/Homebrew/keg.rb
parent9f39e94bb4a3e908442ecf2e0bb982f30b8e47b7 (diff)
downloadhomebrew-3f6acdc842facfc2807dd20a90bc78ab887e40d1.tar.bz2
Remove default argument from make_relative_symlink
All callers of this method now pass a mode object.
Diffstat (limited to 'Library/Homebrew/keg.rb')
-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 3e458d2e9..5ab59a841 100644
--- a/Library/Homebrew/keg.rb
+++ b/Library/Homebrew/keg.rb
@@ -336,7 +336,7 @@ class Keg
puts "Won't resolve conflicts for symlink #{dst} as it doesn't resolve into the Cellar" if ARGV.verbose?
end
- def make_relative_symlink dst, src, mode=OpenStruct.new
+ def make_relative_symlink dst, src, mode
if dst.symlink? && dst.exist? && dst.resolved_path == src
puts "Skipping; link already exists: #{dst}" if ARGV.verbose?
return