diff options
Diffstat (limited to 'src/rcl_prv_assembler.erl')
-rw-r--r-- | src/rcl_prv_assembler.erl | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/rcl_prv_assembler.erl b/src/rcl_prv_assembler.erl index 8143c97..d3fe4ad 100644 --- a/src/rcl_prv_assembler.erl +++ b/src/rcl_prv_assembler.erl @@ -119,11 +119,10 @@ copy_dir(AppDir, TargetDir, SubDir) -> true -> case filelib:is_dir(SubTarget) of true -> - ec_file:remove(SubTarget, [recursive]); + ok = ec_file:remove(SubTarget, [recursive]); false -> ok end, - ok = ec_file:mkdir_p(SubTarget), case ec_file:copy(SubSource, SubTarget, [recursive]) of {error, E} -> ?RCL_ERROR({ec_file_error, AppDir, TargetDir, E}); @@ -134,8 +133,6 @@ copy_dir(AppDir, TargetDir, SubDir) -> ok end. - - create_release_info(State, Release, OutputDir) -> RelName = erlang:atom_to_list(rcl_release:name(Release)), ReleaseDir = filename:join([OutputDir, |