summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Fritchie <scott@basho.com>2010-08-10 14:23:32 -0500
committerScott Fritchie <scott@basho.com>2010-08-10 14:23:32 -0500
commit3929c7564b812e2574518ffe7ed7a59019616239 (patch)
tree5c2e64c3497fce7da189a2e044e836833f490fbe
parent0262a3b46157daa9e5f6995204dc3799166da48d (diff)
Add '%%! -noshell -noinput' to rebar escript
-rwxr-xr-xbootstrap2
1 files changed, 1 insertions, 1 deletions
diff --git a/bootstrap b/bootstrap
index 4766058..1772864 100755
--- a/bootstrap
+++ b/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;