mirror of
https://github.com/correl/rebar.git
synced 2024-11-14 19:19:30 +00:00
Add '%%! -noshell -noinput' to rebar escript
This commit is contained in:
parent
0262a3b461
commit
3929c7564b
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ main(Args) ->
|
|||
{ok, {"mem", ZipBin}} ->
|
||||
%% Archive was successfully created. Prefix that binary with our
|
||||
%% header and write to "rebar" file
|
||||
Script = <<"#!/usr/bin/env escript\n", ZipBin/binary>>,
|
||||
Script = <<"#!/usr/bin/env escript\n%%! -noshell -noinput\n", ZipBin/binary>>,
|
||||
case file:write_file("rebar", Script) of
|
||||
ok ->
|
||||
ok;
|
||||
|
|
Loading…
Reference in a new issue