mirror of
https://github.com/correl/rebar.git
synced 2024-12-18 11:06:20 +00:00
When expanding lib_dirs, don't crash with 'volumerelative' paths
This commit is contained in:
parent
708c190faa
commit
d4164c9606
1 changed files with 1 additions and 1 deletions
|
@ -414,7 +414,7 @@ expand_lib_dirs([Dir | Rest], Root, Acc) ->
|
||||||
Apps = filelib:wildcard(filename:join([Dir, "*", "ebin"])),
|
Apps = filelib:wildcard(filename:join([Dir, "*", "ebin"])),
|
||||||
FqApps = case filename:pathtype(Dir) of
|
FqApps = case filename:pathtype(Dir) of
|
||||||
absolute -> Apps;
|
absolute -> Apps;
|
||||||
relative -> [filename:join([Root, A]) || A <- Apps]
|
_ -> [filename:join([Root, A]) || A <- Apps]
|
||||||
end,
|
end,
|
||||||
expand_lib_dirs(Rest, Root, Acc ++ FqApps).
|
expand_lib_dirs(Rest, Root, Acc ++ FqApps).
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue