]> sigrok.org Git - sigrok-util.git/commitdiff
sigrok-native-msys2: Fix a typo.
authorUwe Hermann <redacted>
Sat, 10 Feb 2018 19:07:25 +0000 (20:07 +0100)
committerUwe Hermann <redacted>
Sat, 10 Feb 2018 19:07:25 +0000 (20:07 +0100)
cross-compile/msys2/sigrok-native-msys2

index 26f8b1467b51d81d3e9f68051f2f46ab28d8d904..c3c1c47e53fb41c08613ba65dab3dcfbd825ef51 100755 (executable)
@@ -43,7 +43,7 @@ DEBUG=0
 # -----------------------------------------------------------------------------
 
 # Abort if the user runs the script in an "MSYS2 MSYS" shell.
 # -----------------------------------------------------------------------------
 
 # Abort if the user runs the script in an "MSYS2 MSYS" shell.
-if [ $MSYSTEM = "MSYS2" ]; then
+if [ $MSYSTEM = "MSYS" ]; then
        echo "Building in an 'MSYS2 MSYS' shell will not work, aborting."
        echo "Please use the 'MSYS2 MinGW 64-bit' (or 32-bit) shell."
        exit
        echo "Building in an 'MSYS2 MSYS' shell will not work, aborting."
        echo "Please use the 'MSYS2 MinGW 64-bit' (or 32-bit) shell."
        exit