From: Richard Heck Date: Thu, 16 Jun 2011 15:35:42 +0000 (+0000) Subject: Updates to check-po script. X-Git-Tag: 2.1.0beta1~3042 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=7ea412465c2a070dde834d6b8fdec81bf4d571fb;p=lyx.git Updates to check-po script. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39108 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/development/tools/check-po.sh b/development/tools/check-po.sh index 59cc1cc551..9aa662ceb7 100644 --- a/development/tools/check-po.sh +++ b/development/tools/check-po.sh @@ -83,19 +83,18 @@ if [ "$VCS" = "svn" ]; then $DEBUG svn ci *.po; else $DEBUG git commit *.po -m "Remerge strings."; - $DEBUG git svn dcommit; + # I think probably we shouldn't try to push/commit to remote. + echo "You will need to commit changes to po files manually." fi -exit 1; - if ! cd $FARM; then echo "Unable to cd to $FARM!"; exit 1; fi - echo echo Updating the www-user tree... -svn up +# note that we're assuming this one is svn. +svn up >/dev/null 2>&1; echo Copying $I18NFILE...; cp $LYXROOT/po/$I18NFILE .;