mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 938428 - Always return an int from the cl.py main function, so that sys.exit crazyness doesn't bite. r=gps
This commit is contained in:
parent
213db4cc18
commit
fbacee20d4
@ -96,7 +96,9 @@ def InvokeClWithDependencyGeneration(cmdline):
|
||||
ret = p.wait()
|
||||
|
||||
if ret != 0 or target == "":
|
||||
return ret
|
||||
# p.wait() returns a long. Somehow sys.exit(long(0)) is like
|
||||
# sys.exit(1). Don't ask why.
|
||||
return int(ret)
|
||||
|
||||
depsdir = os.path.normpath(os.path.join(os.curdir, ".deps"))
|
||||
depstarget = os.path.join(depsdir, depstarget)
|
||||
|
Loading…
Reference in New Issue
Block a user