Просмотр исходного кода

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

Scott Fritchie 14 лет назад
Родитель
Сommit
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;

Загрузка…
Отмена
Сохранить