Selaa lähdekoodia

Add '%%! -noshell -noinput' to rebar escript

Scott Fritchie 14 vuotta sitten
vanhempi
commit
3929c7564b
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. +1
    -1
      bootstrap

+ 1
- 1
bootstrap Näytä tiedosto

@ -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;

Ladataan…
Peruuta
Tallenna