From: <sg...@us...> - 2003-10-14 03:43:55
|
Update of /cvsroot/libfunutil/libfunutil/toc/sbin In directory sc8-pr-cvs1:/tmp/cvs-serv10305/toc/sbin Modified Files: toc_core.sh Log Message: a couple pro-active quoting fixes. Index: toc_core.sh =================================================================== RCS file: /cvsroot/libfunutil/libfunutil/toc/sbin/toc_core.sh,v retrieving revision 1.27 retrieving revision 1.28 diff -u -d -r1.27 -r1.28 --- toc_core.sh 27 Sep 2003 22:34:03 -0000 1.27 +++ toc_core.sh 14 Oct 2003 03:43:52 -0000 1.28 @@ -621,11 +621,11 @@ # It returns !0 only if $TOC_ATSIGN_PARSER throws an error. # $1 = file containing properties to @-filter. # $2 = input template (e.g. toc_shared.make.at) - # $3 = output file (e.g. toc_shared.make). It only changed if + # $3 = output file (e.g. toc_shared.make). Is only changed if # needed, so it is dependency-safe. - local pfile=$1 - local tmpl=$2 - local ofile=$3 + local pfile="$1" + local tmpl="$2" + local ofile="$3" test -f "$pfile" || toc_die $? "toc_atfilter_file: \$1: file not found: $pfile" test -f "$tmpl" || toc_die $? "toc_atfilter_file: \$2: file not found: $tmpl" local tmpfile=$ofile.tmp.toc_atfilter_file |