mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-05 17:09:56 +00:00
Update update-po script for new gmo generation.
This commit is contained in:
parent
855af34657
commit
9a99660962
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user