diff options
Diffstat (limited to 'src/rebar_fetch.erl')
-rw-r--r-- | src/rebar_fetch.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_fetch.erl b/src/rebar_fetch.erl index 83aa0b4..2845b49 100644 --- a/src/rebar_fetch.erl +++ b/src/rebar_fetch.erl @@ -46,7 +46,7 @@ current_ref(AppDir, {git, _, _}) -> download_source(AppDir, Source) -> TmpDir = ec_file:insecure_mkdtemp(), case download_source_tmp(TmpDir, Source) of - ok -> + {ok, _} -> ec_file:mkdir_p(AppDir), ok = ec_file:copy(TmpDir, binary_to_list(filename:absname(AppDir)), [recursive]); {tarball, File} -> |