Rev 1949 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 1949 | Rev 3860 | ||
|---|---|---|---|
| Line 5... | Line 5... | ||
| 5 | # use index.xml in the future |
5 | # use index.xml in the future |
| 6 | # Bernadette Perrin-Riou |
6 | # Bernadette Perrin-Riou |
| 7 | cd `dirname $0` |
7 | cd `dirname $0` |
| 8 | file=index.xml; |
8 | file=index.xml; |
| 9 | # |
9 | # |
| 10 | list=`ls -d */$file |
10 | list=`ls -d */$file | sort` ; |
| 11 | for i in $list ; do |
11 | for i in $list ; do |
| - | 12 | i=`dirname $i` |
|
| 12 | echo "reading $file : $i" ; |
13 | echo "reading $file : $i" ; |
| 13 | cd $i ; ../swac.pl --prefix=$i; |
14 | cd $i ; ../swac.pl --prefix=$i; |
| 14 | cd .. ; |
15 | cd .. ; |
| 15 | done; |
16 | done; |
| 16 | list_index=`ls -d */$file` ; echo $list_index ; |
- | |
| 17 | list_lang=`grep --no-filename swac_lang= |
17 | list_lang=`grep --no-filename swac_lang= $list | sed 's/swac_lang=//' | sed 's/\"//g' | sort -u`; |
| 18 | for j in $list_lang ; do |
18 | for j in $list_lang ; do |
| 19 | echo "index $j" ; |
19 | echo "index $j" ; |
| 20 | ./swac.pl --lang=$j; |
20 | ./swac.pl --lang=$j; |
| 21 | done; |
21 | done; |