浏览代码

Drop the /is switch to robocopy for win7

Has no ill effect as tested on Win10
pull/1682/head
Fred Hebert 7 年前
父节点
当前提交
d477715b1a
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      src/rebar_file_utils.erl

+ 2
- 2
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))])

正在加载...
取消
保存