diff options
author | Boris Bobrov <breton@cynicmansion.ru> | 2014-12-15 01:25:28 +0300 |
---|---|---|
committer | Christopher Allan Webber <cwebber@dustycloud.org> | 2015-01-16 15:20:32 -0600 |
commit | 042b3ba4b4d7f3bd842e96eff6385482becb3ea1 (patch) | |
tree | 83aa5a5cbc1b60224dba24a8583a3e3d545c8521 | |
parent | 26217cbe0dabe7422bf21ea873fee9114fb4dd08 (diff) | |
download | mediagoblin-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-x | devtools/update_translations_pootle.sh | 2 |
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 . |