From 695ff290b3fdfe6d3b3edf78d53ef5d16e4fca08 Mon Sep 17 00:00:00 2001 From: Andrew Gopienko Date: Mon, 11 Jul 2011 13:00:17 +0700 Subject: skip appup generation for new app in release --- src/rebar_appups.erl | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/rebar_appups.erl b/src/rebar_appups.erl index acd4aa4..0dc113f 100644 --- a/src/rebar_appups.erl +++ b/src/rebar_appups.erl @@ -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"]), -- cgit v1.1