From 0b9c95225ed6748ce1f24707f2a903245826187a Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Wed, 12 May 2004 00:12:36 +0000 Subject: [PATCH] Check exit code or commands and exit with that code git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/b | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/wxPython/b b/wxPython/b index 5c97518e56..699d41eef3 100755 --- a/wxPython/b +++ b/wxPython/b @@ -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 -- 2.50.0