]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/b
More DocStr macro updates
[wxWidgets.git] / wxPython / b
index 5c97518e564efeeaa0eab49bf6440bbdecde8ed7..699d41eef31a71debba71ec10dff35ffa874415c 100755 (executable)
@@ -126,10 +126,12 @@ fi
 
 echo $CMD
 eval $CMD
+RC=$?
 
-
-if [ "$OTHERCMD" != "" ]; then
+if [ "$RC" = "0" -a  "$OTHERCMD" != "" ]; then
     echo $OTHERCMD
     $OTHERCMD
+    RC=$?
 fi
 
+exit $RC