diff options
author | Juan Jose Comellas <juanjo@comellas.org> | 2013-06-18 19:19:41 -0300 |
---|---|---|
committer | Juan Jose Comellas <juanjo@comellas.org> | 2013-06-18 19:19:41 -0300 |
commit | d4164c960655762a794f1bc2b0a08c7f8b939c3f (patch) | |
tree | 7a2075a2fcf7844c15f27ea723f0cf2a7173b64c | |
parent | 708c190faad4f992601eca3d5a9d0b8000390d28 (diff) |
When expanding lib_dirs, don't crash with 'volumerelative' paths
-rw-r--r-- | src/rebar_core.erl | 2 |
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). |