aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/stanford-parser.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/stanford-parser.rb')
-rw-r--r--Library/Formula/stanford-parser.rb12
1 files changed, 1 insertions, 11 deletions
diff --git a/Library/Formula/stanford-parser.rb b/Library/Formula/stanford-parser.rb
index b4c43c30e..93f17855d 100644
--- a/Library/Formula/stanford-parser.rb
+++ b/Library/Formula/stanford-parser.rb
@@ -6,19 +6,9 @@ class StanfordParser < Formula
sha1 '1d67ec99f473b59600e5698083ce518ada4dd1b2'
version '2.0.3'
- def shim_script target_script
- <<-EOS.undent
- #!/bin/bash
- exec "#{libexec}/#{target_script}" "$@"
- EOS
- end
-
def install
libexec.install Dir['*']
- Dir["#{libexec}/*.sh"].each do |f|
- f = File.basename(f)
- (bin+f).write shim_script(f)
- end
+ bin.write_exec_script Dir["#{libexec}/*.sh"]
end
def test