From 40080a4d3e543fe12c1ff34f9606ed8e07d079a5 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Thu, 27 Nov 2014 11:00:58 +0000 Subject: caveats: don't need plist keg to_path, fix 10.8. --- Library/Homebrew/caveats.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library') diff --git a/Library/Homebrew/caveats.rb b/Library/Homebrew/caveats.rb index f47eed5db..e3ff6332c 100644 --- a/Library/Homebrew/caveats.rb +++ b/Library/Homebrew/caveats.rb @@ -111,7 +111,7 @@ class Caveats plist_filename = if f.plist f.plist_path.basename else - File.basename Dir["#{keg.to_path}/*.plist"].first + File.basename Dir["#{keg}/*.plist"].first end plist_link = "#{destination}/#{plist_filename}" plist_domain = f.plist_path.basename('.plist') -- cgit v1.2.3