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

Contents of /trunk/installer/doc/manual/scripts/update_pot

Parent Directory Parent Directory | Revision Log Revision Log


Revision 22128 - (show annotations) (download)
Mon Sep 27 21:26:57 2004 UTC (8 years, 7 months ago) by fjpop-guest
File size: 307 byte(s)
Corrected error in script and added progress info
1 #!/bin/sh
2
3 [ ! -d ./en/ ] && exit 1
4 [ ! -d ./po/ ] && mkdir po/
5
6 TARGET="./integrated"
7
8 cd $TARGET/
9
10 [ ! -d "./po/" ] && exit 1
11 for XML in `ls en/*.xml` ; do
12 echo "Creating new .pot file for $XML"
13 XML=$(basename $XML)
14 POT=$(basename $XML .xml).pot
15 xml2pot en/$XML >po/$DIR/$POT
16 done
17
18 exit 0

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.5