From 8f7ee74010f36762474df1bf0b04010865fb19c0 Mon Sep 17 00:00:00 2001 From: fredrik Date: Sat, 16 May 2009 23:45:33 +0000 Subject: [PATCH 1/1] autodlctl: Fixed a bug in reading the badsizes list git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/utils@1120 959494ce-11ee-0310-bf91-de5d638817bd --- autodlctl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autodlctl b/autodlctl index 9e83a6b..134fb8d 100755 --- a/autodlctl +++ b/autodlctl @@ -44,7 +44,7 @@ function getnext badsizesl="$(sed -n "s/^0*$curep \([^#]*\)\( *#.*\)\?$/\1/p" badsizes)" fi if [ -n "$badsizesl" ]; then - read -a badsizes <<<"$badsizesl" + read -d/ -a badsizes <<<"$badsizesl" unset badsizesl echo "found bad size list: ${badsizes[@]}" fi -- 2.11.0