mirror of
https://github.com/correl/rebar.git
synced 2024-11-27 11:09:55 +00:00
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().
This commit is contained in:
parent
837df64087
commit
9d653f906d
1 changed files with 2 additions and 1 deletions
|
@ -316,7 +316,8 @@ processing_base_dir(Config) ->
|
||||||
processing_base_dir(Config, Cwd).
|
processing_base_dir(Config, Cwd).
|
||||||
|
|
||||||
processing_base_dir(Config, Dir) ->
|
processing_base_dir(Config, Dir) ->
|
||||||
Dir =:= base_dir(Config).
|
Dir_abs = filename:absname(Dir),
|
||||||
|
Dir_abs =:= filename:absname(base_dir(Config)).
|
||||||
|
|
||||||
%% ====================================================================
|
%% ====================================================================
|
||||||
%% Internal functions
|
%% Internal functions
|
||||||
|
|
Loading…
Reference in a new issue