From d477715b1a869bdb112895ad28c31e5c94943f2c Mon Sep 17 00:00:00 2001 From: Fred Hebert Date: Mon, 4 Dec 2017 11:01:47 -0500 Subject: Drop the /is switch to robocopy for win7 Has no ill effect as tested on Win10 --- src/rebar_file_utils.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rebar_file_utils.erl b/src/rebar_file_utils.erl index 7a48a6a..bb3ca71 100644 --- a/src/rebar_file_utils.erl +++ b/src/rebar_file_utils.erl @@ -458,11 +458,11 @@ xcopy_win32(Source,Dest)-> %% must manually add the last fragment of a directory to the `Dest` %% in order to properly replicate POSIX platforms NewDest = filename:join([Dest, filename:basename(Source)]), - ?FMT("robocopy \"~ts\" \"~ts\" /e /is 1> nul", + ?FMT("robocopy \"~ts\" \"~ts\" /e 1> nul", [rebar_utils:escape_double_quotes(filename:nativename(Source)), rebar_utils:escape_double_quotes(filename:nativename(NewDest))]); false -> - ?FMT("robocopy \"~ts\" \"~ts\" \"~ts\" /e /is 1> nul", + ?FMT("robocopy \"~ts\" \"~ts\" \"~ts\" /e 1> nul", [rebar_utils:escape_double_quotes(filename:nativename(filename:dirname(Source))), rebar_utils:escape_double_quotes(filename:nativename(Dest)), rebar_utils:escape_double_quotes(filename:basename(Source))]) -- cgit v1.1