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