Permalink
Browse files

When expanding lib_dirs, don't crash with 'volumerelative' paths

  • Loading branch information...
1 parent 708c190 commit d4164c960655762a794f1bc2b0a08c7f8b939c3f @jcomellas jcomellas committed Jun 18, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/rebar_core.erl
View
@@ -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).

0 comments on commit d4164c9

Please sign in to comment.