diff options
author | Remi Collet <fedora@famillecollet.com> | 2011-10-01 09:08:45 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2011-10-01 09:08:45 +0200 |
commit | be7c697bc025d408470130c85be6a0fe1935d721 (patch) | |
tree | ca8ae0d38a8b995abc389cc437eaf36bcc4f6ad3 /mklangsource.sh | |
parent | 0e35b57279477c7c6f1fd3758b349a5960423790 (diff) |
lightning 1.0b7, synced with rawhide
Diffstat (limited to 'mklangsource.sh')
-rwxr-xr-x | mklangsource.sh | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/mklangsource.sh b/mklangsource.sh new file mode 100755 index 0000000..964937e --- /dev/null +++ b/mklangsource.sh @@ -0,0 +1,20 @@ +#!/bin/bash +# This checks out and builds the language sources. The lightning source needs +# to already be unpacked +locales=$PWD/thunderbird-lightning-1.0/comm-release/calendar/locales/shipped-locales +if [ ! -f $locale ] +then + echo "ERROR: missing $locales, try fedpkg prep first" + exit 1 +fi +rm -rf l10n-miramar +mkdir l10n-miramar +cd l10n-miramar +for lang in $(<$locales) +do + hg clone http://hg.mozilla.org/releases/l10n-miramar/$lang +done + +# Tar up, minus the mercurial files +cd .. +tar cjf l10n-miramar.tar.bz2 --exclude='.hg*' l10n-miramar |