blob: 4a97b7f2ab5e91ba7c7b6bee54223851e607da2b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/bin/bash
# This checks out and builds the language sources. The lightning source needs
# to already be unpacked
locales=$PWD/thunderbird-lightning-1.1/comm-beta/calendar/locales/shipped-locales
if [ ! -f $locale ]
then
echo "ERROR: missing $locales, try fedpkg prep first"
exit 1
fi
rm -rf l10n
mkdir l10n
cd l10n
for lang in $(<$locales)
do
hg clone http://hg.mozilla.org/releases/l10n/mozilla-aurora/$lang
done
# Tar up, minus the mercurial files
cd ..
tar caf l10n.tar.xz --exclude='.hg*' l10n
|