summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJuan Jose Comellas <juanjo@comellas.org>2013-06-18 19:19:41 -0300
committerJuan Jose Comellas <juanjo@comellas.org>2013-06-18 19:19:41 -0300
commitd4164c960655762a794f1bc2b0a08c7f8b939c3f (patch)
tree7a2075a2fcf7844c15f27ea723f0cf2a7173b64c /src
parent708c190faad4f992601eca3d5a9d0b8000390d28 (diff)
When expanding lib_dirs, don't crash with 'volumerelative' paths
Diffstat (limited to 'src')
-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 44e434d..61e8412 100644
--- a/src/rebar_core.erl
+++ b/src/rebar_core.erl
@@ -414,7 +414,7 @@ expand_lib_dirs([Dir | Rest], Root, Acc) ->
Apps = filelib:wildcard(filename:join([Dir, "*", "ebin"])),
FqApps = case filename:pathtype(Dir) of
absolute -> Apps;
- relative -> [filename:join([Root, A]) || A <- Apps]
+ _ -> [filename:join([Root, A]) || A <- Apps]
end,
expand_lib_dirs(Rest, Root, Acc ++ FqApps).