… | |
… | |
35 | rm -rf $tempdir |
35 | rm -rf $tempdir |
36 | mkdir $tempdir |
36 | mkdir $tempdir |
37 | for file in "$@"; do |
37 | for file in "$@"; do |
38 | echo "Going to process $file..." |
38 | echo "Going to process $file..." |
39 | outputfile=$tempdir/`basename $file|sed s,'.psi$','.html,'` |
39 | outputfile=$tempdir/`basename $file|sed s,'.psi$','.html,'` |
40 | echo $libtool --mode=execute $psiconv -o $outputfile -Thtml4 $file |
40 | echo $libtool --mode=execute $psiconv -o $outputfile -Thtml4 -eASCII $file |
41 | $libtool --mode=execute $psiconv -o $outputfile -Thtml4 $file |
41 | $libtool --mode=execute $psiconv -o $outputfile -Thtml4 -eASCII $file |
42 | done |
42 | done |
43 | |
43 | |
44 | echo "Going to produce the index..." |
44 | echo "Going to produce the index..." |
45 | ( |
45 | ( |
46 | cd $tempdir |
46 | cd $tempdir |