Handle multiple words in $daily_clean_disks_files

PR:			23805
Submitted mostly by:	Norbert Papke <npapke@telus.net>
This commit is contained in:
brian 2000-12-24 03:22:45 +00:00
parent 7614d31157
commit d756562577

View File

@ -27,10 +27,12 @@ case "$daily_clean_disks_enable" in
rc=2
else
echo ""
echo "Removing old temporary files:"
echo "Cleaning disks:"
set -f noglob
args="$args "`echo " ${daily_clean_disks_files% }" |
sed 's/[ ][ ]*/ -name /g'`
args="$args -name "`echo "$daily_clean_disks_files" |
sed -e 's/^[ ]*//' \
-e 's/[ ]*$//' \
-e 's/[ ][ ]*/ -o -name /g'`
case "$daily_clean_tmps_verbose" in
[Yy][Ee][Ss])