mirror of
https://github.com/correl/rebar.git
synced 2024-12-18 11:06:20 +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", []),
|
"Reltool and .rel release names do not match~n", []),
|
||||||
|
|
||||||
%% Get lists of the old and new app files
|
%% Get lists of the old and new app files
|
||||||
OldAppFiles = rebar_utils:find_files(
|
OldAppFiles = filelib:wildcard(
|
||||||
filename:join([OldVerPath, "lib"]), "^.*.app$"),
|
filename:join([OldVerPath, "lib", "*", "ebin", "*.app"])),
|
||||||
NewAppFiles = rebar_utils:find_files(
|
NewAppFiles = filelib:wildcard(
|
||||||
filename:join([NewName, "lib"]), "^.*.app$"),
|
filename:join([NewName, "lib", "*", "ebin", "*.app"])),
|
||||||
|
|
||||||
%% Find all the apps that have been upgraded
|
%% Find all the apps that have been upgraded
|
||||||
UpgradedApps = get_upgraded_apps(OldAppFiles, NewAppFiles),
|
UpgradedApps = get_upgraded_apps(OldAppFiles, NewAppFiles),
|
||||||
|
|
Loading…
Reference in a new issue