[Debian-l10n-commits] r1592 - in /dl10n/trunk/pootle/sync-projects.d: 40iso-codes cfg/40iso-codes

bubulle at users.alioth.debian.org bubulle at users.alioth.debian.org
Sun Feb 15 11:39:46 UTC 2009


Author: bubulle
Date: Sun Feb 15 11:39:45 2009
New Revision: 1592

URL: http://svn.debian.org/wsvn/?sc=1&rev=1592
Log:
Add sync scripts for iso-codes

Added:
    dl10n/trunk/pootle/sync-projects.d/40iso-codes   (with props)
    dl10n/trunk/pootle/sync-projects.d/cfg/40iso-codes

Added: dl10n/trunk/pootle/sync-projects.d/40iso-codes
URL: http://svn.debian.org/wsvn/dl10n/trunk/pootle/sync-projects.d/40iso-codes?rev=1592&op=file
==============================================================================
--- dl10n/trunk/pootle/sync-projects.d/40iso-codes (added)
+++ dl10n/trunk/pootle/sync-projects.d/40iso-codes Sun Feb 15 11:39:45 2009
@@ -1,0 +1,17 @@
+#!/bin/sh -x
+
+
+. `dirname "$0"`/cfg/common
+. `dirname "$0"`/cfg/`basename "$0"`
+
+cd $ISOCODES
+git fetch
+git pull 2>&1 | grep -v "up-to-date"
+git rebase origin/master 2>&1 | \
+	    grep -v "needs update" | \
+	    grep -v "Already" | \
+	    grep -v "up to date"
+
+##echo "Updating file permissions..."
+find "$ISOCODES" | xargs chmod g+w >/dev/null 2>&1
+

Propchange: dl10n/trunk/pootle/sync-projects.d/40iso-codes
------------------------------------------------------------------------------
    svn:executable = *

Added: dl10n/trunk/pootle/sync-projects.d/cfg/40iso-codes
URL: http://svn.debian.org/wsvn/dl10n/trunk/pootle/sync-projects.d/cfg/40iso-codes?rev=1592&op=file
==============================================================================
--- dl10n/trunk/pootle/sync-projects.d/cfg/40iso-codes (added)
+++ dl10n/trunk/pootle/sync-projects.d/cfg/40iso-codes Sun Feb 15 11:39:45 2009
@@ -1,0 +1,2 @@
+# The directory holding all D-I files
+ISOCODES=${POOTLEDIR}/iso-codes




More information about the Debian-l10n-commits mailing list