From 62da0f8b027fc8835665d31fbe7ea322d9191872 Mon Sep 17 00:00:00 2001 From: Jean-Francois Dockes Date: Sat, 6 Feb 2010 19:19:23 +0100 Subject: [PATCH] need to double-quote file names in places --- src/filters/rcllyx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/filters/rcllyx b/src/filters/rcllyx index 2b06c0d3..c16840d0 100755 --- a/src/filters/rcllyx +++ b/src/filters/rcllyx @@ -132,10 +132,10 @@ case "$infile" in *) infile=`pwd`/$infile;; esac -binfile=`basename $infile` +binfile=`basename "$infile"` ln -s "$infile" "$workdir/$binfile" || exit 1 -lyxfile=$workdir/$binfile -textfile=$workdir/`basename $binfile .lyx`.txt +lyxfile=$workdir/"$binfile" +textfile=$workdir/`basename "$binfile" .lyx`.txt #echo binfile: $binfile;echo lyxfile: $lyxfile ; ls -l $lyxfile; echo textfile: $textfile @@ -215,7 +215,7 @@ cat < EOF -$inputcmd < $textfile +$inputcmd < "$textfile" cat <