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:
Mike Hommey 2015-09-24 10:33:17 +09:00
Родитель ce87ab652c
Коммит a756617866
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -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('%',