mirror of
https://github.com/correl/rebar.git
synced 2024-12-18 03:00:17 +00:00
Ignore app files not in ebin
This commit is contained in:
parent
2cff499a34
commit
90d2ce5e07
1 changed files with 4 additions and 4 deletions
|
@ -56,10 +56,10 @@
|
|||
"Reltool and .rel release names do not match~n", []),
|
||||
|
||||
%% Get lists of the old and new app files
|
||||
OldAppFiles = rebar_utils:find_files(
|
||||
filename:join([OldVerPath, "lib"]), "^.*.app$"),
|
||||
NewAppFiles = rebar_utils:find_files(
|
||||
filename:join([NewName, "lib"]), "^.*.app$"),
|
||||
OldAppFiles = filelib:wildcard(
|
||||
filename:join([OldVerPath, "lib", "*", "ebin", "*.app"])),
|
||||
NewAppFiles = filelib:wildcard(
|
||||
filename:join([NewName, "lib", "*", "ebin", "*.app"])),
|
||||
|
||||
%% Find all the apps that have been upgraded
|
||||
UpgradedApps = get_upgraded_apps(OldAppFiles, NewAppFiles),
|
||||
|
|
Loading…
Reference in a new issue