From 9a9966096284d19a88e2b94d224a7812d5384af3 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Sat, 19 Apr 2014 12:03:59 -0400 Subject: [PATCH] Update update-po script for new gmo generation. --- development/tools/update-po.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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