diff options
author | Fred Hebert <mononcqc@ferd.ca> | 2017-12-04 11:01:47 -0500 |
---|---|---|
committer | Fred Hebert <mononcqc@ferd.ca> | 2017-12-04 12:53:43 -0500 |
commit | d477715b1a869bdb112895ad28c31e5c94943f2c (patch) | |
tree | 6ad02c5fc3cfda98e7127bd5d8089e91169ad5a4 | |
parent | f81f144f38f51efd9ab2d312b1a61dc464fd4738 (diff) |
Drop the /is switch to robocopy for win7
Has no ill effect as tested on Win10
-rw-r--r-- | src/rebar_file_utils.erl | 4 |
1 files 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))]) |