[Debian-l10n-commits] [SCM] Debian i18n - l10n development - dl10n robots branch, master, updated. 8761fb79c5e751707839429ef3d9e27d6af8505a

Simon Paillard spaillard at debian.org
Sun Jun 17 14:42:47 UTC 2012


The following commit has been merged in the master branch:
commit 8761fb79c5e751707839429ef3d9e27d6af8505a
Author: Simon Paillard <spaillard at debian.org>
Date:   Sun Jun 17 14:42:01 2012 +0000

    dl10n-txt-testing: use central config file

diff --git a/cron/dl10n-txt-testing b/cron/dl10n-txt-testing
index 250afeb..dcd9e02 100755
--- a/cron/dl10n-txt-testing
+++ b/cron/dl10n-txt-testing
@@ -2,18 +2,19 @@
 
 # dl10n-txt-testing - Check the status of podebconf translations in testing
 
-DL10NDIR=/srv/dl10n-stuff/svn/dl10n
-LOGDIR=/srv/dl10n-stuff/log
-LOGPREFIX=$LOGDIR/spiderbts.cron.$(date "+%Y%m%d-%H%M")
-OUTDIR=/srv/i18n.debian.net/www/debian-l10n-coordination
-LANGUAGES="fr ru de pt sv cs es"
+set -e
 
-#mkdir -p $LOGDIR
-mkdir -p $OUTDIR
+PROGNAME=$(basename $0)
 
-OPTS=""
+# Get global config and checks
+source $(dirname $0)/../etc/dl10n.conf
+
+# Default to sid, can be overwirtten with _TESTING
+STAT_DATABASE=$STAT_DATABASE_TESTING
 
-cd $DL10NDIR
 
-PERLLIB=lib ./dl10n-txt --todo --empty --db /srv/i18n.debian.net/www/debian-l10n-material/data/testing.gz --show podebconf $LANGUAGES > $OUTDIR/l10n-testing.txt
+LANGUAGES="fr ru de pt sv cs es"
+
+OPTS=""
 
+$DL10NDIR/dl10n-txt --todo --empty --db $STAT_DATABASE --show podebconf $LANGUAGES > $OUTDIR/l10n-testing.txt

-- 
Debian i18n - l10n development - dl10n robots



More information about the Debian-l10n-commits mailing list