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