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.
This commit is contained in:
Boris Bobrov 2014-12-15 01:25:28 +03:00 committed by Christopher Allan Webber
parent 26217cbe0d
commit 042b3ba4b4

View File

@ -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 .