commit: 7fc5aa1b3d7cb9b320237769e934f99d75150645
Author: Ian Stakenvicius <axs <AT> gentoo <DOT> org>
AuthorDate: Thu May 5 14:44:31 2016 +0000
Commit: Ian Stakenvicius <axs <AT> gentoo <DOT> org>
CommitDate: Thu May 5 14:44:31 2016 +0000
URL: https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=7fc5aa1b
scripts/generate_langpacks.sh: fixed a typo in a path
This typo kept langpacks from actually generating so it was kind of a big deal
scripts/generate_langpacks.sh | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/scripts/generate_langpacks.sh b/scripts/generate_langpacks.sh
index bbeb745..8530e34 100755
--- a/scripts/generate_langpacks.sh
+++ b/scripts/generate_langpacks.sh
@@ -197,7 +197,7 @@ function package_gdata_provider {
# run the locales
for langpack_op in "${langpack_targets[@]}"; do
cd ${S}/${locale_buildpath}
- for ech_l10n in ${l10n_releasedir}/* ; do
+ for ech_l10n in ${l10n_releasedir}/src/* ; do
if [[ -d ${ech_l10n} ]]; then
abcd=${ech_l10n##*/}
# Need to set LOCALE_MERGEDIR to someplace that doesnt exist -- odd but
whatever
@@ -205,9 +205,6 @@ for langpack_op in "${langpack_targets[@]}"; do
fi
done
- # get the langpacks
- cp -t ${l10n_releasedir}/ ${S}/dist/linux-*/xpi/*lang*
-
# package lightning and gdata-provider if calendar was a target
if ! [[ ${langpack_op/calendar/} == ${langpack_op} ]]; then
package_lightning
@@ -215,3 +212,7 @@ for langpack_op in "${langpack_targets[@]}"; do
fi
done
+
+# get the langpacks
+cp -t ${l10n_releasedir}/ ${S}/dist/linux-*/xpi/*lang*
+