Parcourir la source

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

Scott Fritchie il y a 14 ans
Parent
révision
3929c7564b
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. +1
    -1
      bootstrap

+ 1
- 1
bootstrap Voir le fichier

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

Chargement…
Annuler
Enregistrer