Fix another filename:join/2 warning. Thanks Kostis

This commit is contained in:
Tuncer Ayaz 2010-10-01 13:39:02 +02:00
parent 3e6f8cac12
commit 1712425588

View file

@ -472,7 +472,7 @@ restore_code_path({old, Path}) ->
expand_lib_dirs([], _Root, Acc) -> expand_lib_dirs([], _Root, Acc) ->
Acc; Acc;
expand_lib_dirs([Dir | Rest], Root, Acc) -> expand_lib_dirs([Dir | Rest], Root, Acc) ->
Apps = filelib:wildcard(filename:join([Dir, '*', ebin])), Apps = filelib:wildcard(filename:join([Dir, "*", ebin])),
FqApps = [filename:join([Root, A]) || A <- Apps], FqApps = [filename:join([Root, A]) || A <- Apps],
expand_lib_dirs(Rest, Root, Acc ++ FqApps). expand_lib_dirs(Rest, Root, Acc ++ FqApps).