[Debian-l10n-commits] r1076 - /dl10n/trunk/pootle/sync-projects.d/10debconf

bubulle at users.alioth.debian.org bubulle at users.alioth.debian.org
Sun Jul 20 17:50:14 UTC 2008


Author: bubulle
Date: Sun Jul 20 17:50:14 2008
New Revision: 1076

URL: http://svn.debian.org/wsvn/?sc=1&rev=1076
Log:
Cleaning code at the right place

Modified:
    dl10n/trunk/pootle/sync-projects.d/10debconf

Modified: dl10n/trunk/pootle/sync-projects.d/10debconf
URL: http://svn.debian.org/wsvn/dl10n/trunk/pootle/sync-projects.d/10debconf?rev=1076&op=diff
==============================================================================
--- dl10n/trunk/pootle/sync-projects.d/10debconf (original)
+++ dl10n/trunk/pootle/sync-projects.d/10debconf Sun Jul 20 17:50:14 2008
@@ -134,7 +134,7 @@
 # That's slightly suboptimal but this is the only way to have correct
 # statistics in Pootle
 echo "  Updating Pootle files:"
-for pkg in `find $PROJECTDIR -maxdepth 3 -mindepth 3 -type d` ; do
+for pkg in `find $PROJECTDIR -maxdepth 3 -mindepth 3 -type d | grep -v \.svn` ; do
 #	echo -n "."
 	for lang in $LANGUAGES; do
 		if [ ! -f $pkg/$lang.po ] ; then
@@ -146,8 +146,6 @@
 #	echo " Done."
 done
 
-
-rm -rf $TEMPDIR >/dev/null 2>&1 || true
 
 # Now commit the whole stuff to SVN
 echo "  Committing to SVN"
@@ -169,3 +167,8 @@
 # We display the diff. It will be up to a human to delete
 # the relevant dirs in SVN (too dangerous)
 diff -d -I "lintian" -I "powertweak" /tmp/list-tarball  /tmp/list-pootle
+
+# Cleaning out
+rm /tmp/list-tarball  /tmp/list-pootle >/dev/null 2>&1 || true
+rm -rf $TEMPDIR >/dev/null 2>&1 || true
+




More information about the Debian-l10n-commits mailing list