Kaynağa Gözat

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

Scott Fritchie 14 yıl önce
ebeveyn
işleme
3929c7564b
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. +1
    -1
      bootstrap

+ 1
- 1
bootstrap Dosyayı Görüntüle

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

Yükleniyor…
İptal
Kaydet