heroku-toolbelt: use write_exec_script

This commit is contained in:
Jack Nagel committed 2013-08-13 09:22:45 -05:00
1 parent 56d778cd49
commit 0bf55b1cda
1 file changed
+1 -4
+1 -4
View File
@@ -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