Merge pull request #97 from tdx/tdx-appup-new-app

Skip appup generation for new app in release
This commit is contained in:
Joe Williams 2011-07-11 09:13:43 -07:00
commit 16fe8c09e5

View file

@ -128,6 +128,8 @@ genappup_which_apps(UpgradedApps, [First|Rest]) ->
genappup_which_apps(Apps, []) ->
Apps.
generate_appup_files(NewVerPath, OldVerPath, [{_App, {undefined, _}}|Rest]) ->
generate_appup_files(NewVerPath, OldVerPath, Rest);
generate_appup_files(NewVerPath, OldVerPath, [{App, {OldVer, NewVer}}|Rest]) ->
OldEbinDir = filename:join([OldVerPath, "lib",
atom_to_list(App) ++ "-" ++ OldVer, "ebin"]),