diff options
author | Yong Tang <yong.tang.github@outlook.com> | 2018-04-16 20:16:06 +0000 |
---|---|---|
committer | Yong Tang <yong.tang.github@outlook.com> | 2018-04-16 21:17:01 +0000 |
commit | a72e6139104d426e347254850b3ccdbba32c2e6e (patch) | |
tree | 621f8471f6c7970cc05a332b5bdb1e6b41e00d40 /third_party/repo.bzl | |
parent | acb3239130d8810bba60011f6d3bddbf5d67c1df (diff) |
Update bazel
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Diffstat (limited to 'third_party/repo.bzl')
-rw-r--r-- | third_party/repo.bzl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/repo.bzl b/third_party/repo.bzl index 8202dafac8..36f5aa5bde 100644 --- a/third_party/repo.bzl +++ b/third_party/repo.bzl @@ -69,7 +69,7 @@ def _apply_delete(ctx, paths): _execute_and_check_ret_code(ctx, cmd) def _tf_http_archive(ctx): - if ("mirror.bazel.build" not in ctx.attr.urls[0] or + if ("mirror.bazel.build" not in ctx.attr.urls[0] and (len(ctx.attr.urls) < 2 and ctx.attr.name not in _SINGLE_URL_WHITELIST)): fail("tf_http_archive(urls) must have redundant URLs. The " + |