mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-26 19:09:48 -05:00
heroku-toolbelt: use write_exec_script
This commit is contained in:
1 parent
56d778cd49
commit
0bf55b1cda
1 file changed
+1
-4
@@ -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
|
||||
|
||||
Reference in new issue
Block a user