Subversion Repositories SvarDOS

Rev

Rev 107 | Rev 117 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 107 Rev 109
Line 1... Line 1...
1
#!/bin/bash
1
#!/bin/bash
2
 
2
 
3
SVNLSCHK='./svnlschk'
3
SVNLSCHK='./svnlschk'
4
COREDIR='/srv/www/svarog386.viste.fr/repos/core'
4
COREDIR='/srv/www/svarog386.viste.fr/repos/core'
5
HTMLFILE='/srv/www/svarog386.viste.fr/index-nls.htm'
5
HTMLFILE='/srv/www/svarog386.viste.fr/index-nls.htm'
-
 
6
INSTALLNLS='/root/svarog386/files/floppy/nls'
6
 
7
 
7
LANGSLIST="en      de     fr     pl     tr"
8
LANGSLIST="en      fr     pl     tr"
8
LANGSLONG="default german french polish turkish"
9
LANGSLONG="default french polish turkish"
9
 
10
 
10
##############################################################################
11
##############################################################################
11
 
12
 
12
processfile() {
13
processfile() {
13
  f=$1
14
  f=$1
Line 64... Line 65...
64
  printf "<th>%s</th>" "$l" >> $HTMLFILE
65
  printf "<th>%s</th>" "$l" >> $HTMLFILE
65
done
66
done
66
 
67
 
67
printf "\n</tr>\n" >> $HTMLFILE
68
printf "\n</tr>\n" >> $HTMLFILE
68
 
69
 
-
 
70
# process INSTALL
-
 
71
mkdir /tmp/nls
-
 
72
cp $INSTALLNLS/install.* /tmp/nls/
-
 
73
CURDIR=`pwd`
-
 
74
cd /tmp
-
 
75
zip -qq -r install.zip nls
-
 
76
cd $CURDIR
-
 
77
processfile /tmp/install.zip "install" 0
-
 
78
rm /tmp/install.zip
-
 
79
rm -rf /tmp/nls
-
 
80
 
69
# process COMMAND (special NLS format)
81
# process COMMAND (special NLS format)
70
processfile $COREDIR/command.zip "command (lng)" 1
82
processfile $COREDIR/command.zip "command (lng)" 1
71
processfile $COREDIR/command.zip "command (err)" 2
83
processfile $COREDIR/command.zip "command (err)" 2
72
 
84
 
73
for f in $COREDIR/*.zip
85
for f in $COREDIR/*.zip