Bug 703878: Fix potential race condition in header.py. r=khuey
This commit is contained in:
@@ -527,6 +527,12 @@ if __name__ == '__main__':
|
||||
outfd.close()
|
||||
|
||||
if options.depfile is not None:
|
||||
dirname = os.path.dirname(options.depfile)
|
||||
if dirname:
|
||||
try:
|
||||
os.makedirs(dirname)
|
||||
except:
|
||||
pass
|
||||
depfd = open(options.depfile, 'w')
|
||||
deps = [dep.replace('\\', '/') for dep in idl.deps]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user