aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/repo.bzl
diff options
context:
space:
mode:
authorGravatar Andy Kernahan <andrew.kernahan@gmail.com>2018-02-05 23:33:50 +0000
committerGravatar Jonathan Hseu <vomjom@vomjom.net>2018-02-05 15:33:50 -0800
commit4e1ebbc2871f02cc99e8a571004bf48cfd517e80 (patch)
tree1747413d3cb6ad49fce9077c2e83202aecff79a6 /third_party/repo.bzl
parenta9485a4b59477c722ed480baec9043d04cc25ea0 (diff)
Ensure bash is invoked as a login shell on windows otherwise fixups fail. (#16580)
Diffstat (limited to 'third_party/repo.bzl')
-rw-r--r--third_party/repo.bzl2
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/repo.bzl b/third_party/repo.bzl
index 11e9c842d2..aa178fa8ca 100644
--- a/third_party/repo.bzl
+++ b/third_party/repo.bzl
@@ -27,7 +27,7 @@ def _wrap_bash_cmd(ctx, cmd):
bazel_sh = _get_env_var(ctx, "BAZEL_SH")
if not bazel_sh:
fail("BAZEL_SH environment variable is not set")
- cmd = [bazel_sh, "-c", " ".join(cmd)]
+ cmd = [bazel_sh, "-l", "-c", " ".join(cmd)]
return cmd
def _get_env_var(ctx, name):