[Debian-l10n-commits] ddtp branch master updated. 20080812.0-123-ga28ec68

Martijn van Oosterhout kleptog-guest at alioth.debian.org
Sat Sep 14 08:46:19 UTC 2013


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 "ddtp".

The branch, master has been updated
       via  a28ec6877c637743ce49fc034567212769590ac7 (commit)
      from  05a36bd8aa626fcf97c14dada23c94f9bbaf7ca8 (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/ddtp.git;a=commitdiff;h=a28ec6877c637743ce49fc034567212769590ac7

commit a28ec6877c637743ce49fc034567212769590ac7
Author: DDTP User <ddtp at i18n.debian.net>
Date:   Sat Sep 14 10:42:26 2013 +0200

    Bugfix to make it more robust against changes in the source directory.
    
    This should make it Just Work after the release.

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

Summary of changes:
 file2Translation.sh |   10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/file2Translation.sh b/file2Translation.sh
index f903ac0..1c7228e 100755
--- a/file2Translation.sh
+++ b/file2Translation.sh
@@ -9,16 +9,20 @@ LANGS=`psql ddtp -q -A -t -c "select distinct language from translation_tb where
 #DISTS="squeeze sid"
 #DISTS="wheezy sid"
 DISTS="jessie sid"
-
+date
+echo "Downloading package lists from http://ftp-master.debian.org/i18n/ ..."
 mkdir -p packagelist
 cd packagelist
-for distribution in $DISTS squeeze md5sum timestamp timestamp.gpg
+wget -q -m -nd http://ftp-master.debian.org/i18n/md5sum || \
+	echo "failed to wget http://ftp-master.debian.org/i18n/md5sum"
+for distribution in $(cut -c33- < md5sum)
 do
+	echo "  $distribution"
 	rm -f $distribution
 	wget -q -m -nd http://ftp-master.debian.org/i18n/$distribution || \
 		echo "failed to wget http://ftp-master.debian.org/i18n/$distribution"
 done
-md5sum --check --quiet md5sum
+md5sum --check md5sum
 cd ..
 
 rm -rf Translation-files_new
-----------------------------------------------------------------------


hooks/post-receive
-- 
ddtp



More information about the Debian-l10n-commits mailing list