summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorredpine50 <redpine50@gmail.com>2014-05-10 14:09:54 +0900
committerredpine50 <redpine50@gmail.com>2014-05-10 14:09:54 +0900
commit8cc5a6abdcd03e0645acf74f45ceb66a5d6cb1c1 (patch)
tree08b14d4d406fd85a530643be1a9d399c48c219fb
parent9d653f906d24e45a43e0d4ee06d3bf18d7fa85a8 (diff)
Do not wrap base_dir with filename:absname()
base_dir() returns already filename:absname()'ed path.
-rw-r--r--src/rebar_utils.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rebar_utils.erl b/src/rebar_utils.erl
index d39a394..517ac33 100644
--- a/src/rebar_utils.erl
+++ b/src/rebar_utils.erl
@@ -316,8 +316,8 @@ processing_base_dir(Config) ->
processing_base_dir(Config, Cwd).
processing_base_dir(Config, Dir) ->
- Dir_abs = filename:absname(Dir),
- Dir_abs =:= filename:absname(base_dir(Config)).
+ AbsDir = filename:absname(Dir),
+ AbsDir =:= base_dir(Config).
%% ====================================================================
%% Internal functions