summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Williams <joe@joetify.com>2011-07-11 09:13:43 -0700
committerJoe Williams <joe@joetify.com>2011-07-11 09:13:43 -0700
commit16fe8c09e5473d5d811d04b29ad2699d1c69c1c4 (patch)
treea1cba08366451a82b3350ef14fd7b03dc738bf65
parent5e04e7db00587dc8540baa4bb7eb1c1128cf3e85 (diff)
parent695ff290b3fdfe6d3b3edf78d53ef5d16e4fca08 (diff)
Merge pull request #97 from tdx/tdx-appup-new-app
Skip appup generation for new app in release
-rw-r--r--src/rebar_appups.erl2
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"]),