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,
case IsSymlink of
{false, Dir="."} ->
?ERROR("endless loop detected:~nsub_dirs"
?ERROR("infinite loop detected:~nsub_dirs"
" entry ~p in ~s~n", [Dir, RebarConfig]);
{true, Cwd} ->
?ERROR("endless loop detected:~nsub_dirs"
?ERROR("infinite loop detected:~nsub_dirs"
" entry ~p in ~s is a symlink to \".\"~n",
[Dir0, RebarConfig]);
_ ->