Modify update-po script to commit gmo files, as well.

This commit is contained in:
Richard Heck 2014-04-21 12:25:48 -04:00
parent e74353f2d8
commit c7ecd10c45

View File

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