aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/heroku-toolbelt.rb
diff options
context:
space:
mode:
authorJack Nagel2013-08-13 09:09:22 -0500
committerJack Nagel2013-08-13 09:22:45 -0500
commit0bf55b1cdaec1cadb9b58d8cf71bec61baee71cc (patch)
tree1e1a63db35733066980e173fbfb6ea52319f14a1 /Library/Formula/heroku-toolbelt.rb
parent56d778cd49b7b0884552a467ccbc8879d991a14d (diff)
downloadhomebrew-0bf55b1cdaec1cadb9b58d8cf71bec61baee71cc.tar.bz2
heroku-toolbelt: use write_exec_script
Diffstat (limited to 'Library/Formula/heroku-toolbelt.rb')
-rw-r--r--Library/Formula/heroku-toolbelt.rb5
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