heroku-toolbelt: use write_exec_script
This commit is contained in:
parent
aa226ab403
commit
9296acf848
1 changed files with 1 additions and 4 deletions
|
@ -7,10 +7,7 @@ class HerokuToolbelt < Formula
|
||||||
|
|
||||||
def install
|
def install
|
||||||
libexec.install Dir["*"]
|
libexec.install Dir["*"]
|
||||||
(bin/'heroku').write <<-EOS.undent
|
bin.write_exec_script libexec/"bin/heroku"
|
||||||
#!/usr/bin/env sh
|
|
||||||
exec "#{libexec}/bin/heroku" "$@"
|
|
||||||
EOS
|
|
||||||
end
|
end
|
||||||
|
|
||||||
def test
|
def test
|
||||||
|
|
Loading…
Reference in a new issue