need to double-quote file names in places
This commit is contained in:
parent
b87a23bfca
commit
62da0f8b02
@ -132,10 +132,10 @@ case "$infile" in
|
|||||||
*) infile=`pwd`/$infile;;
|
*) infile=`pwd`/$infile;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
binfile=`basename $infile`
|
binfile=`basename "$infile"`
|
||||||
ln -s "$infile" "$workdir/$binfile" || exit 1
|
ln -s "$infile" "$workdir/$binfile" || exit 1
|
||||||
lyxfile=$workdir/$binfile
|
lyxfile=$workdir/"$binfile"
|
||||||
textfile=$workdir/`basename $binfile .lyx`.txt
|
textfile=$workdir/`basename "$binfile" .lyx`.txt
|
||||||
|
|
||||||
#echo binfile: $binfile;echo lyxfile: $lyxfile ; ls -l $lyxfile; echo textfile: $textfile
|
#echo binfile: $binfile;echo lyxfile: $lyxfile ; ls -l $lyxfile; echo textfile: $textfile
|
||||||
|
|
||||||
@ -215,7 +215,7 @@ cat <<EOF
|
|||||||
<pre>
|
<pre>
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
$inputcmd < $textfile
|
$inputcmd < "$textfile"
|
||||||
|
|
||||||
cat <<EOF
|
cat <<EOF
|
||||||
</pre>
|
</pre>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user