summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTuncer Ayaz <tuncer.ayaz@gmail.com>2010-10-01 14:37:42 +0200
committerTuncer Ayaz <tuncer.ayaz@gmail.com>2010-10-01 14:37:42 +0200
commit933e4f7620a32fc933fafc0578d1802ddc048bc6 (patch)
tree6cdb0352432632bd47b1351a4db7d4eb4b991f15
parent851c602b2058ac71b6d9bf1d55f93cb9739b4f33 (diff)
Fix dialyzer warning. Thanks Kostis
-rw-r--r--src/rebar_core.erl2
1 files changed, 1 insertions, 1 deletions
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).