common.sh: support OSTYPE == cygwin for MSYS2 (#2028)
(cherry picked from commit f30214464c0613c281c91be192c2ef8360f3543e)
This commit is contained in:
1 parent
3479e31a4e
commit
fdd5ab8ed0
1 file changed
+1
-1
+1
-1
@@ -62,7 +62,7 @@ addons_install() {
|
||||
}
|
||||
|
||||
get_platform_name() {
|
||||
if [[ "$OSTYPE" == "msys" ]]; then
|
||||
if [[ "$OSTYPE" == "msys" ]] || [[ "$OSTYPE" == "cygwin" ]]; then
|
||||
echo "windows"
|
||||
elif [[ "$OSTYPE" == "darwin"* ]]; then
|
||||
echo "macos"
|
||||
|
||||
Reference in new issue
Block a user