Parent Directory
|
Revision Log
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 |
| Name | Value |
|---|---|
| svn:executable | * |
| ViewVC Help | |
| Powered by ViewVC 1.1.5 |