Permalink
Browse files

Minor cleanup on plist caveats.

Use basename to refer to plist file when loaded. Make cp lines same
across formulas.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
  • Loading branch information...
1 parent 94aab47 commit 3a55fec20419a998c0b45446184783a3db7e5279 @lewinski lewinski committed with adamv Feb 4, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Formula/gearman.rb
View
@@ -23,7 +23,7 @@ def caveats
cp #{plist_path} ~/Library/LaunchAgents/
launchctl load -w ~/Library/LaunchAgents/#{plist_path.basename}
- If this is an upgrade and you already have the #{plist_path} loaded:
+ If this is an upgrade and you already have the #{plist_path.basename} loaded:
launchctl unload -w ~/Library/LaunchAgents/#{plist_path.basename}
cp #{plist_path} ~/Library/LaunchAgents/
launchctl load -w ~/Library/LaunchAgents/#{plist_path.basename}

0 comments on commit 3a55fec

Please sign in to comment.