aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/yeti.rb9
1 files changed, 2 insertions, 7 deletions
diff --git a/Library/Formula/yeti.rb b/Library/Formula/yeti.rb
index daef65812..23d7dec30 100644
--- a/Library/Formula/yeti.rb
+++ b/Library/Formula/yeti.rb
@@ -9,12 +9,7 @@ class Yeti < Formula
def install
system "ant jar"
-
- prefix.install "yeti.jar"
- (bin+'yeti').write <<-EOS.undent
- #!/bin/sh
- YETI=#{prefix}/yeti.jar
- java -server -jar "$YETI" "$@"
- EOS
+ libexec.install "yeti.jar"
+ bin.write_jar_script libexec/"yeti.jar", "yeti", "-server"
end
end