aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-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