Revert "Fix patching issue on Windows" (#10472)

This reverts commit 47e6785646.
This commit is contained in:
gunan 2017-06-06 14:58:27 -07:00 committed by GitHub
parent ddd67e3333
commit bf4c3dd6ba

View File

@ -98,7 +98,7 @@ def _execute_and_check_ret_code(repo_ctx, cmd_and_args):
# Runs 'patch -p1'
def _apply_patch(repo_ctx, patch_file):
cmd = [
"patch", "--binary", "-p1", "-d", repo_ctx.path("."), "-i", repo_ctx.path(patch_file)
"patch", "-p1", "-d", repo_ctx.path("."), "-i", repo_ctx.path(patch_file)
]
if _is_windows(repo_ctx):
bazel_sh = _get_env_var(repo_ctx, "BAZEL_SH")