[Debian-l10n-commits] dl10n branch master updated. bd50ce2cac34a1c99576b4842e4f6ceb7f185aea

Christian Perrier bubulle at alioth.debian.org
Thu Aug 9 11:40:34 UTC 2012


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "dl10n".

The branch, master has been updated
       via  bd50ce2cac34a1c99576b4842e4f6ceb7f185aea (commit)
      from  934618fe56ee73f9cfb2517c30581cfee8fd2abd (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------

http://anonscm.debian.org/gitweb/?p=debian-l10n/dl10n.git;a=commitdiff;h=bd50ce2cac34a1c99576b4842e4f6ceb7f185aea

commit bd50ce2cac34a1c99576b4842e4f6ceb7f185aea
Author: Christian PERRIER <bubulle at debian.org>
Date:   Thu Aug 9 13:40:30 2012 +0200

    Handle the BTS option differently

-----------------------------------------------------------------------

Summary of changes:
 cron/l10n-rrd |   19 +++++++++----------
 1 files changed, 9 insertions(+), 10 deletions(-)

diff --git a/cron/l10n-rrd b/cron/l10n-rrd
index 54d578a..d1616f4 100755
--- a/cron/l10n-rrd
+++ b/cron/l10n-rrd
@@ -25,15 +25,6 @@ GRAPH_SCRIPTS_DIR=$(dirname $0)
 dist=$1
 
 OPTS=""
-if [ -n "$2" ]
-then
-	if [ "$2" = "BTS" ]
-	then
-		OPTS="--assume-bts"
-		dist=${dist}BTS
-	fi
-fi
-
 export LC_ALL=C
 
 cd $OUTDIR/${dist}/
@@ -44,7 +35,15 @@ then
 fi
 gunzip -c $MATERIALDIR/data/$dist.gz > $dist
 
-PERLLIB=$DL10NDIR/lib $DL10NDIR/dl10n-rrd/dl10n-rrd $OPTS --db=$dist
+if [ -n "$2" ]
+then
+	if [ "$2" = "BTS" ]
+	then
+		OPTS="--assume-bts"
+	fi
+fi
+
+PERLLIB=$DL10NDIR/lib $DL10NDIR/dl10n-rrd/dl10n-rrd $OPTS --db=${dist}$2
 
 for period in week month year
 do
-----------------------------------------------------------------------


hooks/post-receive
-- 
dl10n



More information about the Debian-l10n-commits mailing list