guard against spaces in filenames inside rclokulnote and rcldoc filters
This commit is contained in:
parent
12d1de2e9e
commit
47b1d77c5d
@ -154,12 +154,12 @@ if test $? -eq 1 ; then
|
|||||||
if test X"$mtype" = Xtext/rtf; then
|
if test X"$mtype" = Xtext/rtf; then
|
||||||
# RTF document disguising as msword either because it has a .doc
|
# RTF document disguising as msword either because it has a .doc
|
||||||
# extension or because it's an attachment with a wrong mime.
|
# extension or because it's an attachment with a wrong mime.
|
||||||
exec `dirname $0`/rclrtf $infile
|
exec `dirname $0`/rclrtf "$infile"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test X"$mtype" = Xtext/plain; then
|
if test X"$mtype" = Xtext/plain; then
|
||||||
# Someone gave a .doc ext to their texts. Happens...
|
# Someone gave a .doc ext to their texts. Happens...
|
||||||
exec `dirname $0`/rcltext $infile
|
exec `dirname $0`/rcltext "$infile"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test X"$mtype" = Xapplication/msword; then
|
if test X"$mtype" = Xapplication/msword; then
|
||||||
|
|||||||
@ -84,7 +84,7 @@ umask 77
|
|||||||
|
|
||||||
checkcmds xsltproc
|
checkcmds xsltproc
|
||||||
|
|
||||||
xsltproc --novalid --nonet - $infile <<EOF
|
xsltproc --novalid --nonet - "$infile" <<EOF
|
||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
<xsl:stylesheet version="1.0"
|
<xsl:stylesheet version="1.0"
|
||||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user