Skip to content
Snippets Groups Projects
Verified Commit 60146126 authored by Pier Angelo Vendrame's avatar Pier Angelo Vendrame :jack_o_lantern:
Browse files

fixup! Bug 40641: Use packaged locales on Firefox

Do not use firefox-l10n in testbuilds, since it is not available.
parent 02d54d8c
No related branches found
No related tags found
No related merge requests found
......@@ -134,11 +134,13 @@ export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE=system
# Create .mozbuild to avoid interactive prompt in configure
mkdir "$HOME/.mozbuild"
l10ncentral="$HOME/.mozbuild/l10n-central"
mkdir "$l10ncentral"
for tarball in $rootdir/[% c('input_files_by_name/firefox-l10n') %]/*; do
tar -C "$l10ncentral" -xf "$tarball"
done
[% IF !c("var/testbuild") -%]
l10ncentral="$HOME/.mozbuild/l10n-central"
mkdir "$l10ncentral"
for tarball in $rootdir/[% c('input_files_by_name/firefox-l10n') %]/*; do
tar -C "$l10ncentral" -xf "$tarball"
done
[% END %]
# PyYAML tries to read files as ASCII, otherwise
export LC_ALL=C.UTF-8
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment