diff options
| author | Jack Nagel | 2013-08-13 09:09:22 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-08-13 09:22:45 -0500 |
| commit | 0bf55b1cdaec1cadb9b58d8cf71bec61baee71cc (patch) | |
| tree | 1e1a63db35733066980e173fbfb6ea52319f14a1 /Library/Formula/heroku-toolbelt.rb | |
| parent | 56d778cd49b7b0884552a467ccbc8879d991a14d (diff) | |
| download | homebrew-0bf55b1cdaec1cadb9b58d8cf71bec61baee71cc.tar.bz2 | |
heroku-toolbelt: use write_exec_script
Diffstat (limited to 'Library/Formula/heroku-toolbelt.rb')
| -rw-r--r-- | Library/Formula/heroku-toolbelt.rb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Library/Formula/heroku-toolbelt.rb b/Library/Formula/heroku-toolbelt.rb index b6d2f18ad..3758f95be 100644 --- a/Library/Formula/heroku-toolbelt.rb +++ b/Library/Formula/heroku-toolbelt.rb @@ -7,10 +7,7 @@ class HerokuToolbelt < Formula def install libexec.install Dir["*"] - (bin/'heroku').write <<-EOS.undent - #!/usr/bin/env sh - exec "#{libexec}/bin/heroku" "$@" - EOS + bin.write_exec_script libexec/"bin/heroku" end def test |
