]> git.saurik.com Git - wxWidgets.git/commitdiff
allow '=' inside a value on command line.
authorRon Lee <ron@debian.org>
Mon, 21 Feb 2000 20:29:12 +0000 (20:29 +0000)
committerRon Lee <ron@debian.org>
Mon, 21 Feb 2000 20:29:12 +0000 (20:29 +0000)
return error code from calling makefiles in lower 8 bits so any
Makefile calling build.py will correctly interpret fatal build
errors.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

utils/wxPython/distrib/build.py

index 7197067195b217115ab769304810135973742b5e..7d8a913511c6ec2c2d99b52561ee87e565958e90 100755 (executable)
@@ -189,7 +189,7 @@ def main(args):
             print "Running:", cmd
             err = os.system(cmd)
 
             print "Running:", cmd
             err = os.system(cmd)
 
-    return err
+    return err/256
 
 
 #----------------------------------------------------------------------------
 
 
 #----------------------------------------------------------------------------
@@ -463,7 +463,7 @@ class BuildConfig:
             for st in args:
                 pair = string.split(st, '=')
                 name = pair[0]
             for st in args:
                 pair = string.split(st, '=')
                 name = pair[0]
-                value = pair[1]
+                value = string.join(pair[1:], '=')
                 self.__dict__[name] = value
         except:
             print "Error parsing command-line: %s" % st
                 self.__dict__[name] = value
         except:
             print "Error parsing command-line: %s" % st