diff options
| author | Patrick Connolly | 2014-01-10 14:51:39 -0500 |
|---|---|---|
| committer | Mike McQuaid | 2014-01-13 09:36:52 +0000 |
| commit | d2e49735e9c628c3cd45dddad149164f4798ecb3 (patch) | |
| tree | 800062232d04df6117ac5364fc502d171d038b10 /Library | |
| parent | e4f6efc7bb2113759c7b923d3245e66821ade4ce (diff) | |
| download | homebrew-d2e49735e9c628c3cd45dddad149164f4798ecb3.tar.bz2 | |
selenium: add wrapper script.
Closes #25794.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/selenium-server-standalone.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Library/Formula/selenium-server-standalone.rb b/Library/Formula/selenium-server-standalone.rb index b42becc3c..adb41d963 100644 --- a/Library/Formula/selenium-server-standalone.rb +++ b/Library/Formula/selenium-server-standalone.rb @@ -6,10 +6,11 @@ class SeleniumServerStandalone < Formula sha1 'f2391600481dd285002d04b66916fc4286ff70ce' def install - prefix.install "selenium-server-standalone-#{version}.jar" + libexec.install "selenium-server-standalone-#{version}.jar" + bin.write_jar_script libexec/"selenium-server-standalone-#{version}.jar", "selenium-server" end - plist_options :manual => "java -jar #{HOMEBREW_PREFIX}/opt/selenium-server-standalone/selenium-server-standalone-#{version}.jar -p 4444" + plist_options :manual => "#{bin}/selenium-server -p 4444" def plist; <<-EOS.undent <?xml version="1.0" encoding="UTF-8"?> |
