From be7c697bc025d408470130c85be6a0fe1935d721 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sat, 1 Oct 2011 09:08:45 +0200 Subject: lightning 1.0b7, synced with rawhide --- mklangsource.sh | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 mklangsource.sh (limited to 'mklangsource.sh') 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 -- cgit