/[d-i]/trunk/manual/scripts/update_pot
ViewVC logotype

Diff of /trunk/manual/scripts/update_pot

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 32665 by fjp, Sat Dec 3 10:34:24 2005 UTC revision 32666 by fjp, Sat Dec 3 10:40:18 2005 UTC
# Line 44  for XML in `find $SOURCEDIR -name "*.xml Line 44  for XML in `find $SOURCEDIR -name "*.xml
44      fi      fi
45    
46      # Revert changes if the only thing changed is the POT-Creation-Date      # Revert changes if the only thing changed is the POT-Creation-Date
47      if diff $PODIR/pot/$POT $PODIR/pot/$POT.new | grep "^>" | grep -qv "POT-Creation-Date: " ; then      if diff $PODIR/pot/$POT $PODIR/pot/$POT.new | grep "^[><]" | grep -qv "POT-Creation-Date: " ; then
48          mv $PODIR/pot/$POT.new $PODIR/pot/$POT          mv $PODIR/pot/$POT.new $PODIR/pot/$POT
49      else      else
50          rm $PODIR/pot/$POT.new          rm $PODIR/pot/$POT.new

Legend:
Removed from v.32665  
changed lines
  Added in v.32666

  ViewVC Help
Powered by ViewVC 1.1.5