summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJared Morrow <jared@basho.com>2013-12-17 06:46:10 -0800
committerJared Morrow <jared@basho.com>2013-12-17 06:46:10 -0800
commitb97677c2c270b05e47f247c72f527a32a2c4c15b (patch)
tree30da9dcf56f1f5589e395e7484049e8ffc4f18ac
parente73098afea02befb0cb4b84025358ab9099fbef9 (diff)
parentaf305f2425d2a11eebf84e7a4ab97cc735968a35 (diff)
downloadrebar-b97677c2c270b05e47f247c72f527a32a2c4c15b.tar.gz
Merge pull request #200 from tuncer/fix-debug-bootstrap
bootstrap: avoid trying to run 'debug' command
-rwxr-xr-xbootstrap3
1 files changed, 2 insertions, 1 deletions
diff --git a/bootstrap b/bootstrap
index 70d8da1..019aaea 100755
--- a/bootstrap
+++ b/bootstrap
@@ -56,7 +56,8 @@ main(Args) ->
%% Run rebar compile to do proper .app validation etc.
%% and rebar escriptize to create the rebar script
- rebar:main(["compile", "escriptize"] ++ Args),
+ RebarArgs = Args -- ["debug"], %% Avoid trying to run 'debug' command
+ rebar:main(["compile", "escriptize"] ++ RebarArgs),
%% Finally, update executable perms for our script on *nix,
%% or write out script files on win32.