summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build/make/msvs_common.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/build/make/msvs_common.sh b/build/make/msvs_common.sh
index 27ddf7fd9..3989fec0d 100644
--- a/build/make/msvs_common.sh
+++ b/build/make/msvs_common.sh
@@ -9,7 +9,8 @@
## be found in the AUTHORS file in the root of the source tree.
##
-if [ "$(uname -o 2>/dev/null)" = "Cygwin" ] \
+shell_name="$(uname -o 2>/dev/null)"
+if [[ "$shell_name" = "Cygwin" || "$shell_name" = "Msys" ]] \
&& cygpath --help >/dev/null 2>&1; then
FIXPATH='cygpath -m'
else