From: Richard Heck Date: Sat, 19 Apr 2014 16:03:59 +0000 (-0400) Subject: Update update-po script for new gmo generation. X-Git-Tag: 2.1.1~86 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=9a9966096284d19a88e2b94d224a7812d5384af3;p=features.git Update update-po script for new gmo generation. --- diff --git a/development/tools/update-po.sh b/development/tools/update-po.sh index 78c49b734f..a024deac99 100644 --- a/development/tools/update-po.sh +++ b/development/tools/update-po.sh @@ -23,7 +23,7 @@ done if [ -z "$FARM" ]; then echo "You must set the FARM variable to run this script, e.g.:"; - echo "# FARM=/cvs/lyx-www/ bash check-po.sh"; + echo "# FARM=/cvs/lyx-www/ bash update-po.sh"; exit 1; fi @@ -102,7 +102,7 @@ if [ -z "$COMMIT" ]; then 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