aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric <[email protected]>2012-12-18 11:15:38 -0500
committerEric <[email protected]>2012-12-18 11:15:38 -0500
commit19d05486ac45580e139501fde52f73c9e43eefc0 (patch)
treeb009e25d04e8e272d5b1ff0b15f21839593452b6
parent3102f456473f42b170b0c1a47786831b712b1b08 (diff)
downloadrelx-19d05486ac45580e139501fde52f73c9e43eefc0.tar.gz
relx-19d05486ac45580e139501fde52f73c9e43eefc0.tar.bz2
relx-19d05486ac45580e139501fde52f73c9e43eefc0.zip
make sure that copy errors can be correctly detected
-rw-r--r--src/rcl_prv_assembler.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rcl_prv_assembler.erl b/src/rcl_prv_assembler.erl
index 1ba31f8..99b5eab 100644
--- a/src/rcl_prv_assembler.erl
+++ b/src/rcl_prv_assembler.erl
@@ -112,9 +112,9 @@ copy_app_directories_to_output(State, Release, OutputDir) ->
(_) ->
false
end,
- ec_plists:map(fun(App) ->
- copy_app(LibDir, App)
- end, Apps)),
+ lists:flatten(ec_plists:map(fun(App) ->
+ copy_app(LibDir, App)
+ end, Apps))),
case Result of
[E | _] ->
E;