aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2014-11-27 11:00:58 +0000
committerMike McQuaid2014-11-27 11:00:58 +0000
commitaf62ae322cc13bf6d1f808d25950671a28d4455e (patch)
tree33eeda8de66f23872982feadbed2b4324f051200 /Library
parent3e391af3d4daa739b02381d2d4ea6028cc6c793b (diff)
downloadhomebrew-af62ae322cc13bf6d1f808d25950671a28d4455e.tar.bz2
caveats: don't need plist keg to_path, fix 10.8.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/caveats.rb2
1 files changed, 1 insertions, 1 deletions
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')