diff options
author | Eric <[email protected]> | 2012-12-28 10:08:26 -0500 |
---|---|---|
committer | Eric <[email protected]> | 2012-12-28 10:08:26 -0500 |
commit | 8c22ae33056a406fe2baf180d16e3fb090638508 (patch) | |
tree | 8a0bc68936bcbc6b27678b89ab7430d25d06bb9f /src/rcl_prv_overlay.erl | |
parent | 58a82fd5970aa098826ad65f32cc3dab34fb1da6 (diff) | |
download | relx-8c22ae33056a406fe2baf180d16e3fb090638508.tar.gz relx-8c22ae33056a406fe2baf180d16e3fb090638508.tar.bz2 relx-8c22ae33056a406fe2baf180d16e3fb090638508.zip |
make overlays synchronous
People seem to expect overlays to happen in order. This patch changes
overlays such that they happen one at a time.
Diffstat (limited to 'src/rcl_prv_overlay.erl')
-rw-r--r-- | src/rcl_prv_overlay.erl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/rcl_prv_overlay.erl b/src/rcl_prv_overlay.erl index aa27bd6..160629b 100644 --- a/src/rcl_prv_overlay.erl +++ b/src/rcl_prv_overlay.erl @@ -223,10 +223,10 @@ do_overlay(State, OverlayVars) -> {ok, State}; Overlays -> handle_errors(State, - ec_plists:map(fun(Overlay) -> - do_individual_overlay(State, OverlayVars, - Overlay) - end, Overlays)) + lists:map(fun(Overlay) -> + do_individual_overlay(State, OverlayVars, + Overlay) + end, Overlays)) end. -spec handle_errors(rcl_state:t(), [ok | relcool:error()]) -> |