aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/selenium-server-standalone.rb
diff options
context:
space:
mode:
authorMatthew Lewinski2012-02-04 08:57:53 -0600
committerAdam Vandenberg2012-02-04 08:07:35 -0800
commitc2b8e871db8477d4ff1396156d7794d50565f7cc (patch)
tree97b7b659f128a87bd5056ea48de587ff5a5ea9bc /Library/Formula/selenium-server-standalone.rb
parentc86610bbae2280cb8ba1d84e38b08d637e9c9e6a (diff)
downloadhomebrew-c2b8e871db8477d4ff1396156d7794d50565f7cc.tar.bz2
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>
Diffstat (limited to 'Library/Formula/selenium-server-standalone.rb')
-rw-r--r--Library/Formula/selenium-server-standalone.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/selenium-server-standalone.rb b/Library/Formula/selenium-server-standalone.rb
index 276cdb6a5..cb585f4c5 100644
--- a/Library/Formula/selenium-server-standalone.rb
+++ b/Library/Formula/selenium-server-standalone.rb
@@ -18,7 +18,7 @@ class SeleniumServerStandalone < Formula
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}