mirror of
https://github.com/zebrajr/tensorflow.git
synced 2025-12-07 00:20:20 +01:00
Revert "Fix patching issue on Windows" (#10472)
This reverts commit 47e6785646.
This commit is contained in:
parent
ddd67e3333
commit
bf4c3dd6ba
|
|
@ -98,7 +98,7 @@ def _execute_and_check_ret_code(repo_ctx, cmd_and_args):
|
||||||
# Runs 'patch -p1'
|
# Runs 'patch -p1'
|
||||||
def _apply_patch(repo_ctx, patch_file):
|
def _apply_patch(repo_ctx, patch_file):
|
||||||
cmd = [
|
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):
|
if _is_windows(repo_ctx):
|
||||||
bazel_sh = _get_env_var(repo_ctx, "BAZEL_SH")
|
bazel_sh = _get_env_var(repo_ctx, "BAZEL_SH")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user