summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorredpine50 <redpine50@gmail.com>2014-05-08 02:07:10 +0900
committerredpine50 <redpine50@gmail.com>2014-05-08 02:07:10 +0900
commit9d653f906d24e45a43e0d4ee06d3bf18d7fa85a8 (patch)
tree237f4d45b10d5125edbbc4113b4c0624f34a171e /src
parent837df640872d6a5d5d75a7308126e2769d7babad (diff)
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().
Diffstat (limited to 'src')
-rw-r--r--src/rebar_utils.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rebar_utils.erl b/src/rebar_utils.erl
index 289f918..d39a394 100644
--- a/src/rebar_utils.erl
+++ b/src/rebar_utils.erl
@@ -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