aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/rest-shell.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2012-08-07 11:20:52 -0700
committerAdam Vandenberg2012-10-27 19:28:49 -0700
commitce2f7e1bd664e7260e48ffa37bf3fc909232a555 (patch)
tree1a9b07793f59951405a7ee7dbc15a1cf5145229e /Library/Formula/rest-shell.rb
parentb40e5323ca055bf890406b634c97fccef49d9c68 (diff)
downloadhomebrew-ce2f7e1bd664e7260e48ffa37bf3fc909232a555.tar.bz2
Use script helpers
Diffstat (limited to 'Library/Formula/rest-shell.rb')
-rw-r--r--Library/Formula/rest-shell.rb5
1 files changed, 1 insertions, 4 deletions
diff --git a/Library/Formula/rest-shell.rb b/Library/Formula/rest-shell.rb
index 75545d539..5d5fe9e8c 100644
--- a/Library/Formula/rest-shell.rb
+++ b/Library/Formula/rest-shell.rb
@@ -8,10 +8,7 @@ class RestShell < Formula
def install
libexec.install Dir['*']
- (bin/'rest-shell').write <<-EOS.undent
- #!/bin/bash
- exec "#{libexec}/bin/rest-shell" "$@"
- EOS
+ bin.write_exec_script libexec/'bin/rest-shell'
end
def test