From ef709255476931d6e1635d44114d8245c4744d90 Mon Sep 17 00:00:00 2001 From: Ondrej Vasik Date: Apr 05 2014 13:30:07 +0000 Subject: Fix mimetype file in epub git-svn-id: https://svn.fedorahosted.org/svn/xmlto@76 eb1b79c1-ba03-4820-82f3-b60cf523859b --- diff --git a/ChangeLog b/ChangeLog index c49caf0..4148df7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2014-04-05 Ole Streicher + * format/docbook/epub: fix mime type of epub file + 2013-01-07 Ondrej Vasik * configure.in: fix build with automake 1.13+ * format/docbook/epub: create dir for the css lists diff --git a/THANKS b/THANKS index aed9fb2..558d6b4 100644 --- a/THANKS +++ b/THANKS @@ -22,3 +22,4 @@ Cyril Brulebois Matthias Andree Kacper Perschke Marko Lindqvist +Ole Streicher diff --git a/format/docbook/epub b/format/docbook/epub index 38415ed..118d605 100755 --- a/format/docbook/epub +++ b/format/docbook/epub @@ -26,7 +26,7 @@ case "$1" in do ${GCP_PATH:-cp} -R -P -p -- $INPUT_DIR/$CSS_SOURCE $CSS_DEST_DIR/ done - echo "application/epub+zip" > mimetype + echo -n "application/epub+zip" > mimetype EPUB_NAME=$(basename "${XSLT_PROCESSED%.*}").epub [ -e "$XSLT_PROCESSED" ] && rm "$XSLT_PROCESSED" ${ZIP_PATH} -0Xq $EPUB_NAME mimetype