diff options
author | Siri Hansen <[email protected]> | 2011-03-07 08:32:54 +0100 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2011-03-07 08:33:02 +0100 |
commit | 4ec1678553ff9b20feaa93ab108196943d14f0df (patch) | |
tree | 4b39ca8813a183a87ffd2c07e4311cf700f67c5d /lib/sasl/src/systools_relup.erl | |
parent | 5878040bda0427afebf4581534b6dd6febd4b3ce (diff) | |
parent | 49d011c355682ce5cb5447c682684031dab82e8b (diff) | |
download | otp-4ec1678553ff9b20feaa93ab108196943d14f0df.tar.gz otp-4ec1678553ff9b20feaa93ab108196943d14f0df.tar.bz2 otp-4ec1678553ff9b20feaa93ab108196943d14f0df.zip |
Merge branch 'pg/honor-start-type-in-rel-files' into dev
* pg/honor-start-type-in-rel-files:
Honor start type in .rel files when building relup files
OTP-9097
Diffstat (limited to 'lib/sasl/src/systools_relup.erl')
-rw-r--r-- | lib/sasl/src/systools_relup.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sasl/src/systools_relup.erl b/lib/sasl/src/systools_relup.erl index 177d50be80..71bd3ca491 100644 --- a/lib/sasl/src/systools_relup.erl +++ b/lib/sasl/src/systools_relup.erl @@ -370,10 +370,10 @@ collect_appup_scripts(_, [], _, Ws, RUs) -> {RUs, Ws}. %% ToApps = [#application] %% create_add_app_scripts(FromRel, ToRel, RU0s, W0s) -> - AddedNs = [N || {N, _V, _T} <- ToRel#release.applications, + AddedNs = [{N, T} || {N, _V, T} <- ToRel#release.applications, not lists:keymember(N, 1, FromRel#release.applications)], %% io:format("Added apps: ~p~n", [AddedNs]), - RUs = [[{add_application, N}] || N <- AddedNs], + RUs = [[{add_application, N, T}] || {N, T} <- AddedNs], {RUs ++ RU0s, W0s}. |