commit: a8e7efc128222f12c386b7d8e28ff75ae92dcb26
Author: Ian Stakenvicius <axs <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 22 19:42:29 2016 +0000
Commit: Ian Stakenvicius <axs <AT> gentoo <DOT> org>
CommitDate: Tue Nov 22 19:42:29 2016 +0000
URL: https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=a8e7efc1
generate-langpacks.sh: strip '_pre*' from the search tag used against the L10N
repos, to improve likeliness of a match
scripts/generate_langpacks.sh | 1 +
1 file changed, 1 insertion(+)
diff --git a/scripts/generate_langpacks.sh b/scripts/generate_langpacks.sh
index e0552cb..ad9f7cf 100755
--- a/scripts/generate_langpacks.sh
+++ b/scripts/generate_langpacks.sh
@@ -52,6 +52,7 @@ if [[ ${uctarget/_BETA/} != ${uctarget} ]]; then
l10nrepo="mozilla-beta"
uctarget=${uctarget/_BETA/b}
fi
+uctarget=${uctarget%_PRE*}
l10n_releasedir="${LANGPACK_DESTDIR%/}/l10n-${target}"