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
This commit is contained in:
Ron Lee 2000-02-21 20:29:12 +00:00
parent 05cdfc6fad
commit 6f82295e5c

View File

@ -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