]> git.saurik.com Git - wxWidgets.git/commitdiff
Check exit codes properly
authorRobin Dunn <robin@alldunn.com>
Tue, 15 Jun 2004 03:27:08 +0000 (03:27 +0000)
committerRobin Dunn <robin@alldunn.com>
Tue, 15 Jun 2004 03:27:08 +0000 (03:27 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/distrib/msw/.make

index 8a0343ac7d0c5e20ac475a259040d4b1337cc346..6d68c46199afcb8122a2d130b6dde04a51575c6c 100644 (file)
@@ -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 -