diff options
author | Andrew Gopienko <gopienko@gmail.com> | 2011-07-11 13:00:17 +0700 |
---|---|---|
committer | Andrew Gopienko <gopienko@gmail.com> | 2011-07-11 13:00:17 +0700 |
commit | 695ff290b3fdfe6d3b3edf78d53ef5d16e4fca08 (patch) | |
tree | a1cba08366451a82b3350ef14fd7b03dc738bf65 /src | |
parent | 5e04e7db00587dc8540baa4bb7eb1c1128cf3e85 (diff) |
skip appup generation for new app in release
Diffstat (limited to 'src')
-rw-r--r-- | src/rebar_appups.erl | 2 |
1 files changed, 2 insertions, 0 deletions
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"]), |