Backed out changeset 9475e3ef6a44 (bug 1217276)

This commit is contained in:
Wes Kocher 2015-10-30 10:11:43 -07:00
parent 9b4b36e1bc
commit 51bf70ed8a

View File

@ -215,12 +215,10 @@ class FasterMakeBackend(CommonBackend):
install_target = mozpath.join(install_target, jarinfo.base)
for e in jarinfo.entries:
if e.is_locale:
if jarinfo.relativesrcdir:
path = mozpath.join(self.environment.topsrcdir,
jarinfo.relativesrcdir)
else:
path = mozpath.dirname(obj.path)
src = mozpath.join( path, 'en-US', e.source)
src = mozpath.join(
jarinfo.relativesrcdir or mozpath.dirname(obj.path),
'en-US',
e.source)
elif e.source.startswith('/'):
src = mozpath.join(self.environment.topsrcdir,
e.source[1:])