aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Wankadia <junyer@google.com>2019-01-31 09:34:41 -0800
committerPaul Wankadia <junyer@google.com>2019-01-31 17:35:36 +0000
commit0bac8848596695561f5f0015bcc32e085548bf5d (patch)
tree1114b5fabd6920f0c60d4fedfd24e1058cd43a0f
parent05f7d011e473f74d3d07028855ef589d7bc3d84f (diff)
downloadregex-re2-0bac8848596695561f5f0015bcc32e085548bf5d.tar.gz
Work around a bug in older versions of bash. :/
Change-Id: I9ad2b67e4ae1b6337f6a2716d5e3221aff66c4c8 Reviewed-on: https://code-review.googlesource.com/c/37954 Reviewed-by: Paul Wankadia <junyer@google.com>
-rwxr-xr-xkokoro/cmake.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/kokoro/cmake.sh b/kokoro/cmake.sh
index 0cb79f5..f3db5bc 100755
--- a/kokoro/cmake.sh
+++ b/kokoro/cmake.sh
@@ -8,6 +8,8 @@ case "${KOKORO_JOB_NAME}" in
CMAKE_G_A_FLAGS=('-G' 'Visual Studio 14 2015' '-A' 'x64')
;;
*)
+ # Work around a bug in older versions of bash. :/
+ set +u
CMAKE_G_A_FLAGS=()
;;
esac