diff options
author | 2016-06-28 16:57:30 +0000 | |
---|---|---|
committer | 2016-06-29 08:53:51 +0000 | |
commit | cb226127fa817fabf149015f8d4af6de93297366 (patch) | |
tree | 40862a7d192c343f370fe2abfb7764a8ab6a6047 /src/test/shell | |
parent | 34cdae35dba538a5d834b9ae18c4e493bbad878c (diff) |
Fix is_windows function
--
Change-Id: I88c67ba382288f0a908aba97571564434eaae2d0
Reviewed-on: https://bazel-review.googlesource.com/#/c/3917
MOS_MIGRATED_REVID=126085117
Diffstat (limited to 'src/test/shell')
-rwxr-xr-x | src/test/shell/bazel/testenv.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/shell/bazel/testenv.sh b/src/test/shell/bazel/testenv.sh index df659ff0fe..8e8f3828c3 100755 --- a/src/test/shell/bazel/testenv.sh +++ b/src/test/shell/bazel/testenv.sh @@ -46,7 +46,7 @@ bazel_data="${BAZEL_RUNFILES}" PLATFORM="$(uname -s | tr 'A-Z' 'a-z')" function is_windows() { # On windows, the shell test actually running on msys - if [ "${PLATFORM}" == "msys_nt-6.1" ]; then + if [[ "${PLATFORM}" =~ msys_nt* ]]; then true else false |