Ver a proveniência

Update rebar_utils.erl

On windows, bootstrap.bat failed with next error.
Command 'escriptize' not understood or not applicable

This happens because the drive name in path got from rebar_utils:get_cwd() and base_dir(Config) are different case.
Made the drive name the same lowercase using filename:absname().
pull/3/head
redpine50 há 11 anos
ascendente
cometimento
9d653f906d
1 ficheiros alterados com 2 adições e 1 eliminações
  1. +2
    -1
      src/rebar_utils.erl

+ 2
- 1
src/rebar_utils.erl Ver ficheiro

@ -316,7 +316,8 @@ processing_base_dir(Config) ->
processing_base_dir(Config, Cwd).
processing_base_dir(Config, Dir) ->
Dir =:= base_dir(Config).
Dir_abs = filename:absname(Dir),
Dir_abs =:= filename:absname(base_dir(Config)).
%% ====================================================================
%% Internal functions

Carregando…
Cancelar
Guardar