aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBoris Bobrov <breton@cynicmansion.ru>2014-12-15 01:25:28 +0300
committerChristopher Allan Webber <cwebber@dustycloud.org>2015-01-16 15:20:32 -0600
commit042b3ba4b4d7f3bd842e96eff6385482becb3ea1 (patch)
tree83aa5a5cbc1b60224dba24a8583a3e3d545c8521
parent26217cbe0dabe7422bf21ea873fee9114fb4dd08 (diff)
downloadmediagoblin-042b3ba4b4d7f3bd842e96eff6385482becb3ea1.tar.lz
mediagoblin-042b3ba4b4d7f3bd842e96eff6385482becb3ea1.tar.xz
mediagoblin-042b3ba4b4d7f3bd842e96eff6385482becb3ea1.zip
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.
-rwxr-xr-xdevtools/update_translations_pootle.sh2
1 files changed, 1 insertions, 1 deletions
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 .