From 933e4f7620a32fc933fafc0578d1802ddc048bc6 Mon Sep 17 00:00:00 2001 From: Tuncer Ayaz Date: Fri, 1 Oct 2010 14:37:42 +0200 Subject: [PATCH] Fix dialyzer warning. Thanks Kostis --- src/rebar_core.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rebar_core.erl b/src/rebar_core.erl index d2459fe..bbc104b 100644 --- a/src/rebar_core.erl +++ b/src/rebar_core.erl @@ -472,7 +472,7 @@ restore_code_path({old, Path}) -> expand_lib_dirs([], _Root, Acc) -> 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], expand_lib_dirs(Rest, Root, Acc ++ FqApps).