[ROSBE-WINDOWS] Add precise checks for the correct MSYS environment.

This commit is contained in:
Colin Finck 2020-04-14 18:44:01 +02:00
parent f92810667b
commit 32dcc00319
No known key found for this signature in database
GPG Key ID: 1BA74E70456BA1A9
2 changed files with 4 additions and 4 deletions

View File

@ -56,8 +56,8 @@ echo
echo "This script builds a RosBE toolchain for Windows."
echo
if [ "`uname -o`" != "Msys" ]; then
echo "You can only run this script under a MSYS environment!"
if [ "$MSYSTEM" != "MSYS" ]; then
echo "Please run this script in an \"MSYS2 MSYS\" environment!"
exit 1
fi

View File

@ -78,8 +78,8 @@ echo
echo "This script builds a RosBE toolchain for Windows."
echo
if [ "`uname -o`" != "Msys" ]; then
echo "You can only run this script under a MSYS environment!"
if [ "$MSYSTEM" != "MINGW32" ]; then
echo "Please run this script in an \"MSYS2 MinGW 32-bit\" environment!"
exit 1
fi