Procházet zdrojové kódy

bootstrap: avoid trying to run 'debug' command

If you invoke 'make debug', then bootstrap executes rebar:main/1 with
the extra argument "debug" and rebar treats that as a command. There is
no such command.

Without this patch you will see the following on bootstrap:
Command 'debug' not understood or not applicable
pull/3/head
Tuncer Ayaz před 11 roky
rodič
revize
af305f2425
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. +2
    -1
      bootstrap

+ 2
- 1
bootstrap Zobrazit soubor

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

Načítá se…
Zrušit
Uložit