[thunderbird-lightning] Use TB CALENDAR_*_RELEASE tags for l10n

Orion Poplawski orion at fedoraproject.org
Fri Sep 20 15:24:01 UTC 2013


commit 58dfff04d913365ad2a77f0c7a942d720bc922bc
Author: Orion Poplawski <orion at nwra.com>
Date:   Fri Sep 20 09:16:24 2013 -0600

    Use TB CALENDAR_*_RELEASE tags for l10n

 mklangsource.sh |   12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)
---
diff --git a/mklangsource.sh b/mklangsource.sh
index 0be8e2b..f536e78 100755
--- a/mklangsource.sh
+++ b/mklangsource.sh
@@ -1,10 +1,12 @@
 #!/bin/bash
 # This checks out and builds the language sources.  The lightning source needs
 # to already be unpacked
-ver=`awk '/^%global lightning_version/ { print $3; exit }' thunderbird-lightning.spec`
-tag=CALENDAR_${ver//./_}_RELEASE
+lver=`awk '/^%global *lightning_ver/ { print $3; exit }' thunderbird-lightning.spec`
+tbver=`awk '/^%global *thunderbird_ver/ { print $3; exit }' thunderbird-lightning.spec`
+#tag=CALENDAR_${lver//./_}_RELEASE
+tag=THUNDERBIRD_${tbver//./_}_RELEASE
 branch=`awk '/^%global *tarballdir/ { print $3; exit }' thunderbird-lightning.spec`
-locales=$PWD/thunderbird-lightning-${ver}/${branch}/calendar/locales/shipped-locales
+locales=$PWD/thunderbird-lightning-${lver}/${branch}/calendar/locales/shipped-locales
 if [ ! -f $locales ]
 then
   echo "ERROR: missing $locales, try fedpkg prep first"
@@ -27,5 +29,5 @@ done
 
 # Tar up, minus the mercurial files
 cd ..
-rm -f l10n-${ver}.tar.xz
-tar caf l10n-${ver}.tar.xz --exclude='.hg*'  l10n
+rm -f l10n-${lver}.tar.xz
+tar caf l10n-${lver}.tar.xz --exclude='.hg*'  l10n


More information about the scm-commits mailing list