mirror of
https://github.com/correl/rebar.git
synced 2024-11-23 11:09:55 +00:00
Merge pull request #378 from irpab/remove_last_dot_in_deps_dir
deps: fix delete-deps if deps_dir ends with dot
This commit is contained in:
commit
0eecd4d050
1 changed files with 3 additions and 2 deletions
|
@ -307,8 +307,9 @@ get_deps_dir(Config) ->
|
|||
|
||||
get_deps_dir(Config, App) ->
|
||||
BaseDir = rebar_utils:base_dir(Config),
|
||||
DepsDir = get_shared_deps_dir(Config, "deps"),
|
||||
{true, filename:join([BaseDir, DepsDir, App])}.
|
||||
DepsDir0 = get_shared_deps_dir(Config, "deps"),
|
||||
DepsDir = filename:dirname(filename:join([BaseDir, DepsDir0, "dummy"])),
|
||||
{true, filename:join([DepsDir, App])}.
|
||||
|
||||
dep_dirs(Deps) ->
|
||||
[D#dep.dir || D <- Deps].
|
||||
|
|
Loading…
Reference in a new issue