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
commit40080a4d3e543fe12c1ff34f9606ed8e07d079a5 (patch)
tree49184ce0d810049ba2b5adc882729eacfbefc1b5 /Library
parentb89bacb9c94e85386571c7045490b54a98f51411 (diff)
downloadbrew-40080a4d3e543fe12c1ff34f9606ed8e07d079a5.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')