Correct sub_dirs loop log message

This commit is contained in:
Tuncer Ayaz 2011-07-07 15:29:53 +02:00
parent e0a86868ca
commit cc2447f1b1

View file

@ -59,10 +59,10 @@ check_loop(Cwd) ->
end, end,
case IsSymlink of case IsSymlink of
{false, Dir="."} -> {false, Dir="."} ->
?ERROR("endless loop detected:~nsub_dirs" ?ERROR("infinite loop detected:~nsub_dirs"
" entry ~p in ~s~n", [Dir, RebarConfig]); " entry ~p in ~s~n", [Dir, RebarConfig]);
{true, Cwd} -> {true, Cwd} ->
?ERROR("endless loop detected:~nsub_dirs" ?ERROR("infinite loop detected:~nsub_dirs"
" entry ~p in ~s is a symlink to \".\"~n", " entry ~p in ~s is a symlink to \".\"~n",
[Dir0, RebarConfig]); [Dir0, RebarConfig]);
_ -> _ ->