Rev 12173 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 12173 | Rev 14585 | ||
---|---|---|---|
Line 4... | Line 4... | ||
4 | mkdir -p $outputdir |
4 | mkdir -p $outputdir |
5 | validator="$configdir/w3c-validator.py" |
5 | validator="$configdir/w3c-validator.py" |
6 | cleanup="$configdir/validator_clean.pl --option=$clean" |
6 | cleanup="$configdir/validator_clean.pl --option=$clean" |
7 | rm -f $outputdir/html.log |
7 | rm -f $outputdir/html.log |
8 | mod=devel/wimsdev/help~teacher~program.fr |
8 | mod=devel/wimsdev/help~teacher~program.fr |
- | 9 | mod=help/teacher/program.fr |
|
9 | for job in `ls ../../public_html/modules/$mod/fr`; do |
10 | for job in `ls ../../public_html/modules/$mod/fr`; do |
10 | job=`basename $job .phtml` ; |
11 | job=`basename $job .phtml` ; |
11 | message=`wget "http://127.0.0.1/wims/wims.cgi?module=$mod&job=$job" -nv -O test.html ; |
12 | message=`wget "http://127.0.0.1/wims/wims.cgi?module=$mod&job=$job" -nv -O test.html ; |
12 | $validator test.html 2>&1;` |
13 | $validator test.html 2>&1;` |
13 | if [ "$message" ] ; then |
14 | if [ "$message" ] ; then |