X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a8dc231770cc6a1c25dd2da38fff4d7b642c9ffd..9e9300c4576acb09a9fca823330fb48529c629d0:/wxPython/distrib/msw/.make diff --git a/wxPython/distrib/msw/.make b/wxPython/distrib/msw/.make index b228c1eb30..10fc78abe2 100644 --- a/wxPython/distrib/msw/.make +++ b/wxPython/distrib/msw/.make @@ -1,4 +1,4 @@ -#! /bin/bash +#!/bin/bash function error { @@ -88,14 +88,14 @@ echo ------------------ echo cd $WXWIN/build/msw cd $WXWIN/build/msw $WXWIN/build/msw/.mymake $BUILD_TYPE $@ -if [ ! $? ]; then error; fi +if [ ! $? = 0 ]; then error; fi echo ------------------ echo cd ../../contrib/build/gizmos cd ../../contrib/build/gizmos $WXWIN/build/msw/.mymake $BUILD_TYPE $@ -if [ ! $? ]; then error; fi +if [ ! $? = 0 ]; then error; fi cd - @@ -103,7 +103,7 @@ echo ------------------ echo cd ../../contrib/build/xrc cd ../../contrib/build/xrc $WXWIN/build/msw/.mymake $BUILD_TYPE $@ -if [ ! $? ]; then error; fi +if [ ! $? = 0 ]; then error; fi cd - @@ -111,7 +111,7 @@ echo ------------------ echo cd ../../contrib/build/stc cd ../../contrib/build/stc $WXWIN/build/msw/.mymake $BUILD_TYPE $@ -if [ ! $? ]; then error; fi +if [ ! $? = 0 ]; then error; fi cd - @@ -119,7 +119,7 @@ echo ------------------ echo cd ../../contrib/build/ogl cd ../../contrib/build/ogl $WXWIN/build/msw/.mymake $BUILD_TYPE CPPFLAGS="-DwxUSE_DEPRECATED=0" $@ -if [ ! $? ]; then error; fi +if [ ! $? = 0 ]; then error; fi cd -