Author: rgheck Date: Thu Jun 16 17:18:08 2011 New Revision: 39103 URL: http://www.lyx.org/trac/changeset/39103
Log: I think this gets the check-po script working properly. Sorry for all the commits, but I need a clean tree to test it! Modified: lyx-devel/branches/BRANCH_2_0_X/development/tools/check-po.sh Modified: lyx-devel/branches/BRANCH_2_0_X/development/tools/check-po.sh ============================================================================== --- lyx-devel/branches/BRANCH_2_0_X/development/tools/check-po.sh Thu Jun 16 17:11:02 2011 (r39102) +++ lyx-devel/branches/BRANCH_2_0_X/development/tools/check-po.sh Thu Jun 16 17:18:08 2011 (r39103) @@ -65,16 +65,22 @@ make update-po >/dev/null 2>&1; echo -echo Running make i18n.inc... -rm -f i18n.inc; -make i18n.inc >/dev/null 2>&1; if [ -n "$TRUNK" ]; then - mv i18n.inc i18n_trunk.inc I18NFILE=i18n_trunk.inc; else I18NFILE=i18n.inc; fi +# make sure things are clean +rm -f i18n.inc; +svn revert $FARM/$I18NFILE; + +echo Running make i18n.inc... +make i18n.inc >/dev/null 2>&1; +if [ -n "$TRUNK" ]; then + mv i18n.inc i18n_trunk.inc +fi + if diff -w -q $I18NFILE $FARM/$I18NFILE >/dev/null 2>&1; then # No differences found echo No string differences found.
