Browse Source

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

pull/3/head
Juan Jose Comellas 12 years ago
parent
commit
d4164c9606
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/rebar_core.erl

+ 1
- 1
src/rebar_core.erl View File

@ -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).

Loading…
Cancel
Save