aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/saxon.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/saxon.rb')
-rw-r--r--Library/Formula/saxon.rb9
1 files changed, 1 insertions, 8 deletions
diff --git a/Library/Formula/saxon.rb b/Library/Formula/saxon.rb
index a4a8b1f22..ce26956a7 100644
--- a/Library/Formula/saxon.rb
+++ b/Library/Formula/saxon.rb
@@ -6,15 +6,8 @@ class Saxon < Formula
sha1 '7383d2504f45582f94c0d9c9ca2f4fa322fad7a1'
version "9.4.0.2"
- def shim_script target
- <<-EOS.undent
- #!/bin/bash
- java -jar "#{libexec}/saxon9he.jar" "$@"
- EOS
- end
-
def install
libexec.install Dir["*"]
- (bin+'saxon').write shim_script('saxon')
+ bin.write_jar_script libexec/'saxon9he.jar', 'saxon'
end
end