diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/rebar_file_utils.erl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rebar_file_utils.erl b/src/rebar_file_utils.erl index 6eb2ab1..51ba96e 100644 --- a/src/rebar_file_utils.erl +++ b/src/rebar_file_utils.erl @@ -57,6 +57,8 @@ rm_rf(Target) -> end. -spec cp_r(Sources::list(string()), Dest::file:filename()) -> ok. +cp_r([], _Dest) -> + ok; cp_r(Sources, Dest) -> case os:type() of {unix, _} -> |