forked from pool/xmlto
2b412da5fa
- Add xmlto-lynx-empty-file.patch to fix problems with lynx on empty files, upstream commit 57 OBS-URL: https://build.opensuse.org/request/show/88729 OBS-URL: https://build.opensuse.org/package/show/Publishing/xmlto?expand=0&rev=16
13 lines
353 B
Diff
13 lines
353 B
Diff
--- 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"
|