SHA256
1
0
forked from pool/xmlto
xmlto/xmlto-lynx-empty-file.patch
Stephan Kulow 2b412da5fa Accepting request 88729 from home:namtrac:branches:Publishing
- 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
2011-10-19 18:31:54 +00:00

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"