--- xmlto.in 2011-10-19 16:02:34.130369281 +0200 +++ xmlto.in 2011-10-19 16:03:24.226367583 +0200 @@ -566,6 +566,9 @@ -o "$XSLT_PROCESSED" "$STYLESHEET" "$INPUT_FILE" fi + #xsltproc may return no file on empty input, touch it to have it for sure + touch "$XSLT_PROCESSED" + if [ $? == 4 ] then XSLTOPTS="${XSLTOPTS} --catalogs"