[xml/sgml-commit] r168 - in packages/xmlto/trunk: . debian

Graham Wilson graham@haydn.debian.org
Mon, 07 Jun 2004 12:21:11 -0600


Author: graham
Date: 2004-06-07 12:21:06 -0600 (Mon, 07 Jun 2004)
New Revision: 168

Modified:
   packages/xmlto/trunk/debian/changelog
   packages/xmlto/trunk/xmlto.in
Log:
Fix check for XSL-FO. (closes: #252545)

Modified: packages/xmlto/trunk/debian/changelog
===================================================================
--- packages/xmlto/trunk/debian/changelog	2004-06-07 17:30:29 UTC (rev 167)
+++ packages/xmlto/trunk/debian/changelog	2004-06-07 18:21:06 UTC (rev 168)
@@ -2,8 +2,9 @@
 
   * Set maintainer to Debian XML/SGML Group, and add myself as
     uploader.
+  * Fix check for XSL-FO. (closes: #252545)
 
- -- Graham Wilson <graham@debian.org>  Mon, 07 Jun 2004 17:27:17 +0000
+ -- Graham Wilson <graham@debian.org>  Mon, 07 Jun 2004 18:20:43 +0000
 
 xmlto (0.0.18-4) unstable; urgency=low
 

Modified: packages/xmlto/trunk/xmlto.in
===================================================================
--- packages/xmlto/trunk/xmlto.in	2004-06-07 17:30:29 UTC (rev 167)
+++ packages/xmlto/trunk/xmlto.in	2004-06-07 18:21:06 UTC (rev 168)
@@ -261,7 +261,7 @@
 esac
 
 # Decide what source format this is.  Default to DocBook.
-rootel=$(head -n 4 "$INPUT_FILE" | \
+rootel=$(head -n 4 "$INPUT_FILE" | tr -d '\n' | \
      sed -e 's/^<?[^?>]*?>//g' -e 's/^<![^>]*>//g' -e 's/^<\([^ ]*\).*$/\1/')
 case $(echo $rootel) in
 fo:root)