diff options
| author | Adam Vandenberg | 2012-08-07 11:20:52 -0700 | 
|---|---|---|
| committer | Adam Vandenberg | 2012-10-27 19:28:49 -0700 | 
| commit | ce2f7e1bd664e7260e48ffa37bf3fc909232a555 (patch) | |
| tree | 1a9b07793f59951405a7ee7dbc15a1cf5145229e /Library/Formula/rest-shell.rb | |
| parent | b40e5323ca055bf890406b634c97fccef49d9c68 (diff) | |
| download | homebrew-ce2f7e1bd664e7260e48ffa37bf3fc909232a555.tar.bz2 | |
Use script helpers
Diffstat (limited to 'Library/Formula/rest-shell.rb')
| -rw-r--r-- | Library/Formula/rest-shell.rb | 5 | 
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 | 
