diff options
author | Christopher Allan Webber <cwebber@dustycloud.org> | 2012-01-29 13:30:18 -0600 |
---|---|---|
committer | Christopher Allan Webber <cwebber@dustycloud.org> | 2012-01-29 13:30:32 -0600 |
commit | 8e5596fb1d7c038bac769ebe544c8c4e2f297a5a (patch) | |
tree | 8616010e1edf9f88d3d9899c442a31a5f3e8fb47 /devtools | |
parent | f4b206166e706ac6d89e60c3cc8db71a7ef680ff (diff) | |
download | mediagoblin-8e5596fb1d7c038bac769ebe544c8c4e2f297a5a.tar.lz mediagoblin-8e5596fb1d7c038bac769ebe544c8c4e2f297a5a.tar.xz mediagoblin-8e5596fb1d7c038bac769ebe544c8c4e2f297a5a.zip |
Hm, maybe this is better... that didn't fix the stop-in-the-middle issue.
Diffstat (limited to 'devtools')
-rwxr-xr-x | devtools/update_translations.sh | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/devtools/update_translations.sh b/devtools/update_translations.sh index 069b47af..537aa95b 100755 --- a/devtools/update_translations.sh +++ b/devtools/update_translations.sh @@ -27,9 +27,10 @@ git pull echo "==> pulling present translations" ./bin/tx pull -a -if git add mediagoblin/i18n/; then - git commit -m "Committing present MediaGoblin translations before pushing extracted messages"; -fi + +git add mediagoblin/i18n/ +git commit -m "Committing present MediaGoblin translations before pushing extracted messages" \ + || true # Don't fail if nothing to commit echo "==> Extracting translations" ./bin/pybabel extract -F babel.ini -o mediagoblin/i18n/en/LC_MESSAGES/mediagoblin.po . @@ -45,6 +46,6 @@ echo "==> Compiling .mo files" ./bin/pybabel compile -D mediagoblin -d mediagoblin/i18n/ echo "==> Committing to git" -if git add mediagoblin/i18n/; then - git commit -m "Committing extracted and compiled translations"; -fi +git add mediagoblin/i18n/ + +git commit -m "Committing extracted and compiled translations" || true |