From 042b3ba4b4d7f3bd842e96eff6385482becb3ea1 Mon Sep 17 00:00:00 2001 From: Boris Bobrov Date: Mon, 15 Dec 2014 01:25:28 +0300 Subject: [PATCH] Exclude index dir from sync with Pootle Pootle creates some dir with index file. It has nothing to do with our files, so it should be excluded in the rsync call. --- devtools/update_translations_pootle.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devtools/update_translations_pootle.sh b/devtools/update_translations_pootle.sh index 56fdf201..df8ab8e3 100755 --- a/devtools/update_translations_pootle.sh +++ b/devtools/update_translations_pootle.sh @@ -26,7 +26,7 @@ echo "==> pulling git master" git pull echo "==> pulling present translations" -rsync -vaz chapters.gnu.org::pootle/mediagoblin/ mediagoblin/i18n/ +rsync --exclude ".translation_index" -vaz chapters.gnu.org::pootle/mediagoblin/ mediagoblin/i18n/ echo "==> Extracting translations" ./bin/pybabel extract -F babel.ini -o mediagoblin/i18n/templates/mediagoblin.pot . -- 2.25.1