aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/bulk_extractor.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/bulk_extractor.rb')
-rw-r--r--Library/Formula/bulk_extractor.rb8
1 files changed, 1 insertions, 7 deletions
diff --git a/Library/Formula/bulk_extractor.rb b/Library/Formula/bulk_extractor.rb
index 0f8b48bed..dbee7b0fc 100644
--- a/Library/Formula/bulk_extractor.rb
+++ b/Library/Formula/bulk_extractor.rb
@@ -32,13 +32,7 @@ class BulkExtractor < Formula
# Install the GUI the Homebrew way
libexec.install 'java_gui/BEViewer.jar'
- (bin+'BEViewer').write script
- end
-
- def script; <<-EOS.undent
- #!/bin/sh
- exec java -Xmx1g -jar #{libexec}/BEViewer.jar "$@"
- EOS
+ bin.write_jar_script libexec/"BEViewer.jar", "BEViewer", "-Xmx1g"
end
def caveats; <<-EOS.undent