aboutsummaryrefslogtreecommitdiff
path: root/tests/test.sh
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2016-06-10 14:00:47 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2016-06-18 15:10:59 +0300
commit72d61e0fe0f8e7c1929339c7a4741b8c593bb25a (patch)
treebcaa80c6008791ace0dd9f28b0f105e465d8b285 /tests/test.sh
parent6a6691bbb6f7d4f0b92d76f7e74f4e4c0cb4f849 (diff)
Fix test.sh to work in MSYS2
Diffstat (limited to 'tests/test.sh')
-rwxr-xr-xtests/test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test.sh b/tests/test.sh
index d248650..9caafb1 100755
--- a/tests/test.sh
+++ b/tests/test.sh
@@ -47,7 +47,7 @@ function error ()
bpkg="../bpkg/bpkg"
cfg=/tmp/conf
-if [ "${MSYSTEM:0:5}" = "MINGW" ]; then
+if [ "${MSYSTEM:0:5}" = "MINGW" -o "${MSYSTEM:0:4}" = "MSYS" ]; then
msys=y
fi