Преглед изворни кода

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

Scott Fritchie пре 14 година
родитељ
комит
3929c7564b
1 измењених фајлова са 1 додато и 1 уклоњено
  1. +1
    -1
      bootstrap

+ 1
- 1
bootstrap Прегледај датотеку

@ -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…
Откажи
Сачувај