X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=development%2Ftools%2Fupdate-po.sh;h=26da0c49625d98b47cdcf515acc7bc800b30f6d6;hb=392f63fa0f2d0e8aecb012a0ca15283613bed82d;hp=78c49b734f5b08d2bef9ffcd09fcf50f3f0276bf;hpb=3e250d2ce6c83e60621ae6b6e6325af6145bcc9c;p=lyx.git diff --git a/development/tools/update-po.sh b/development/tools/update-po.sh index 78c49b734f..26da0c4962 100644 --- a/development/tools/update-po.sh +++ b/development/tools/update-po.sh @@ -98,11 +98,11 @@ fi if [ -z "$COMMIT" ]; then echo "Differences found!"; diff -wu $FARM/$I18NFILE $I18NFILE | less; - git checkout *.po; + git checkout *.po *.gmo; exit 0; fi -$DEBUG git commit *.po -m "Remerge strings."; +$DEBUG git commit *.po *.gmo -m "Remerge strings."; COMMITS=$(git push -n 2>&1 | tail -n 1 | grep -v "Everything" | sed -e 's/^ *//' -e 's/ .*//'); if [ -z "$COMMITS" ]; then