Bug 872439 - Fix GRE path used for startup cache precompilation with --with-libxul-sdk. r=gps

This commit is contained in:
Mike Hommey 2013-05-15 19:23:03 +02:00
parent a84bb6be55
commit b7767b801b

View File

@ -351,7 +351,8 @@ def main():
# Fill startup cache
if isinstance(formatter, OmniJarFormatter) and launcher.can_launch():
if buildconfig.substs['LIBXUL_SDK']:
gre_path = buildconfig.substs['LIBXUL_DIST']
gre_path = mozpack.path.join(buildconfig.substs['LIBXUL_DIST'],
'bin')
else:
gre_path = None
for base in sorted([[p for p in [mozpack.path.join('bin', b), b]