Changes to allow these build scripts to use python3

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2012-05-24 23:26:34 +00:00
parent c9db153a51
commit 016a3d4cee
3 changed files with 57 additions and 46 deletions

View File

@@ -18,7 +18,7 @@ def runInDir(command, dir=None, verbose=True):
commandStr = " ".join(command)
if verbose:
print commandStr
print(commandStr)
result = os.system(commandStr)
if dir:
@@ -181,7 +181,7 @@ class AutoconfBuilder(GNUMakeBuilder):
optionsStr = string.join(options, " ") if options else ""
command = "%s %s" % (configure_cmd, optionsStr)
print command
print(command)
result = os.system(command)
#os.chdir(olddir)
return result