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", []),
%% 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),