Do not wrap base_dir with filename:absname()

base_dir() returns already filename:absname()'ed path.
This commit is contained in:
redpine50 2014-05-10 14:09:54 +09:00
parent 9d653f906d
commit 8cc5a6abdc

View file

@ -316,8 +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_abs = filename:absname(Dir), AbsDir = filename:absname(Dir),
Dir_abs =:= filename:absname(base_dir(Config)). AbsDir =:= base_dir(Config).
%% ==================================================================== %% ====================================================================
%% Internal functions %% Internal functions