From 9296acf8489a55090f616d5e5d4d0047db70c570 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Tue, 13 Aug 2013 09:09:22 -0500 Subject: [PATCH] heroku-toolbelt: use write_exec_script --- Formula/heroku-toolbelt.rb | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Formula/heroku-toolbelt.rb b/Formula/heroku-toolbelt.rb index b6d2f18ad0..3758f95be1 100644 --- a/Formula/heroku-toolbelt.rb +++ b/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