diff options
-rw-r--r-- | src/rlx_prv_assembler.erl | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/src/rlx_prv_assembler.erl b/src/rlx_prv_assembler.erl index c433ca7..8f86dde 100644 --- a/src/rlx_prv_assembler.erl +++ b/src/rlx_prv_assembler.erl @@ -277,19 +277,18 @@ link_directory(AppDir, TargetDir) -> end. copy_directory(AppDir, TargetDir, IncludeSrc) -> - ec_plists:map(fun(SubDir) -> - copy_dir(AppDir, TargetDir, SubDir) - end, ["ebin", - "include", - "priv", - "lib" | - case IncludeSrc of - true -> - ["src", - "c_src"]; - false -> - [] - end]). + [copy_dir(AppDir, TargetDir, SubDir) + || SubDir <- ["ebin", + "include", + "priv", + "lib" | + case IncludeSrc of + true -> + ["src", + "c_src"]; + false -> + [] + end]]. copy_dir(AppDir, TargetDir, SubDir) -> SubSource = filename:join(AppDir, SubDir), |