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:
redpine50 2014-05-08 02:07:10 +09:00
parent 837df64087
commit 9d653f906d

View file

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