From 6f82295e5cfda1256420b0e1bbf6ef771f5ac750 Mon Sep 17 00:00:00 2001 From: Ron Lee Date: Mon, 21 Feb 2000 20:29:12 +0000 Subject: [PATCH] allow '=' inside a value on command line. 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/wxPython/distrib/build.py b/utils/wxPython/distrib/build.py index 7197067195..7d8a913511 100755 --- a/utils/wxPython/distrib/build.py +++ b/utils/wxPython/distrib/build.py @@ -189,7 +189,7 @@ def main(args): 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] - value = pair[1] + value = string.join(pair[1:], '=') self.__dict__[name] = value except: print "Error parsing command-line: %s" % st -- 2.45.2