mirror of
https://github.com/correl/rebar.git
synced 2024-11-27 11:09:55 +00:00
Merge pull request #200 from tuncer/fix-debug-bootstrap
bootstrap: avoid trying to run 'debug' command
This commit is contained in:
commit
b97677c2c2
1 changed files with 2 additions and 1 deletions
|
@ -56,7 +56,8 @@ main(Args) ->
|
||||||
|
|
||||||
%% Run rebar compile to do proper .app validation etc.
|
%% Run rebar compile to do proper .app validation etc.
|
||||||
%% and rebar escriptize to create the rebar script
|
%% 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,
|
%% Finally, update executable perms for our script on *nix,
|
||||||
%% or write out script files on win32.
|
%% or write out script files on win32.
|
||||||
|
|
Loading…
Reference in a new issue