зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1207882 - Ensure chrome manifests are created in a directory that exists when processing jar manifests. r=gps
This currently works because other things in the build system are creating those directories, but it's not a safe thing to rely on.
This commit is contained in:
Родитель
ce87ab652c
Коммит
a756617866
|
@ -20,6 +20,7 @@ from MozZipFile import ZipFile
|
|||
from cStringIO import StringIO
|
||||
|
||||
from mozbuild.util import (
|
||||
ensureParentDir,
|
||||
lock_file,
|
||||
PushbackIter,
|
||||
)
|
||||
|
@ -200,6 +201,7 @@ class JarMaker(object):
|
|||
with the given chrome base path, and updates the given manifest file.
|
||||
'''
|
||||
|
||||
ensureParentDir(manifestPath)
|
||||
lock = lock_file(manifestPath + '.lck')
|
||||
try:
|
||||
myregister = dict.fromkeys(map(lambda s: s.replace('%',
|
||||
|
|
Загрузка…
Ссылка в новой задаче