]> git.lyx.org Git - features.git/commitdiff
Update update-po script for new gmo generation.
authorRichard Heck <rgheck@lyx.org>
Sat, 19 Apr 2014 16:03:59 +0000 (12:03 -0400)
committerRichard Heck <rgheck@lyx.org>
Sat, 19 Apr 2014 16:03:59 +0000 (12:03 -0400)
development/tools/update-po.sh

index 78c49b734f5b08d2bef9ffcd09fcf50f3f0276bf..a024deac992015784d20df6670b370904df1c6d1 100644 (file)
@@ -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