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

Contents of /trunk/manual/scripts/revert_pot

Parent Directory Parent Directory | Revision Log Revision Log


Revision 26053 - (hide annotations) (download)
Thu Mar 3 17:35:03 2005 UTC (8 years, 2 months ago) by fjpop-guest
Original Path: trunk/installer/doc/manual/scripts/revert_pot
File size: 360 byte(s)
Add script to revert local changes in POT files
1 fjpop-guest 26053 #!/bin/sh
2    
3     # Reverts local changes in POT files.
4     # Translators are normally not supposed to commit any changes to POT
5     # files after they've run update_pot.
6    
7     POTDIR="./po/pot"
8    
9     [ -d $POTDIR ] || exit 1
10    
11     echo "Reverting modified POT files (if any)..."
12     for POT in $(svn st $POTDIR | grep "^M" | sed "s/^M[[:space:]]*//"); do
13     svn revert $POT
14     done
15     echo "done."

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.5