SL-18837: Detect msys bash as well as cygwin for native_path et al.

master
Nat Goodspeed 2023-07-18 10:54:12 -04:00
parent 479fa3e196
commit 6fd46b85f5
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ jobs:
mkdir -p "$build_log_dir"
mkdir -p "$BUILDSCRIPTS_SHARED/packages/lib/python"
source "$BUILDSCRIPTS_SUPPORT_FUNCTIONS"
if [[ "$OSTYPE" == "cygwin" ]]
if [[ "$OSTYPE" =~ cygwin|msys ]]
then
native_path() { cygpath --windows "$1"; }
shell_path() { cygpath --unix "$1"; }