diff options
Diffstat (limited to 'src/rebar_upgrade.erl')
-rw-r--r-- | src/rebar_upgrade.erl | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/rebar_upgrade.erl b/src/rebar_upgrade.erl index fb14707..8666fe5 100644 --- a/src/rebar_upgrade.erl +++ b/src/rebar_upgrade.erl @@ -111,13 +111,12 @@ setup(OldVerPath, NewVerPath, NewName, NewVer, NameVer) -> {ok, _} = file:copy(Src, Dst), ok = code:add_pathsa( lists:append([ + filelib:wildcard(filename:join([NewVerPath, + "lib", "*", "ebin"])), filelib:wildcard(filename:join([OldVerPath, "releases", "*"])), filelib:wildcard(filename:join([OldVerPath, - "lib", "*", "ebin"])), - filelib:wildcard(filename:join([NewVerPath, - "lib", "*", "ebin"])), - filelib:wildcard(filename:join([NewVerPath, "*"])) + "lib", "*", "ebin"])) ])). run_systools(NewVer, Name) -> |