aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/rlx_prv_assembler.erl25
1 files changed, 12 insertions, 13 deletions
diff --git a/src/rlx_prv_assembler.erl b/src/rlx_prv_assembler.erl
index 21d9bd4..2e37fc3 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),