Ignore app files not in ebin

This commit is contained in:
joewilliams 2011-02-25 10:16:52 -05:00 committed by Tuncer Ayaz
parent 2cff499a34
commit 90d2ce5e07

View file

@ -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),