aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEric <[email protected]>2012-12-18 12:01:29 -0500
committerEric <[email protected]>2012-12-18 12:01:29 -0500
commit51b627c68792039c7c7162d354ff0250c7a795b8 (patch)
tree22839a3c3afc030cf1ae79613ddad13ac7caf9d6 /src
parent19d05486ac45580e139501fde52f73c9e43eefc0 (diff)
downloadrelx-51b627c68792039c7c7162d354ff0250c7a795b8.tar.gz
relx-51b627c68792039c7c7162d354ff0250c7a795b8.tar.bz2
relx-51b627c68792039c7c7162d354ff0250c7a795b8.zip
make sure that the app target dir is created befor a copy
Diffstat (limited to 'src')
-rw-r--r--src/rcl_prv_assembler.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rcl_prv_assembler.erl b/src/rcl_prv_assembler.erl
index 99b5eab..271b0d5 100644
--- a/src/rcl_prv_assembler.erl
+++ b/src/rcl_prv_assembler.erl
@@ -131,6 +131,7 @@ copy_app(LibDir, App) ->
true ->
link_directory(AppDir, TargetDir);
false ->
+ ok = rcl_util:mkdir_p(TargetDir),
ec_plists:map(fun(SubDir) ->
copy_dir(AppDir, TargetDir, SubDir)
end, ["ebin",