Select XHTML first, else HTML

This commit is contained in:
Geoff R. McLane 2015-10-31 17:10:03 +01:00
parent 0be66cb00b
commit 6208357693
1 changed files with 3 additions and 0 deletions

View File

@ -67,7 +67,10 @@ if [ -z "$TMPEXIT" ]; then
exit 1
fi
TMPFIL="input/in_$TMPCASE.xhtml"
if [ ! -f "$TMPFIL" ]; then
TMPFIL="input/in_$TMPCASE.html"
fi
TMPCFG="input/cfg_$TMPCASE.txt"
if [ ! -f "$TMPCFG" ]; then
TMPCFG="input/cfg_default.txt"