From: fredrik Date: Sat, 16 May 2009 23:45:33 +0000 (+0000) Subject: autodlctl: Fixed a bug in reading the badsizes list X-Git-Url: http://git.dolda2000.com/gitweb/?a=commitdiff_plain;h=8f7ee74010f36762474df1bf0b04010865fb19c0;hp=4f06ae97a651bd02aceb2cd0ab7adc6147c83805;p=utils.git 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 --- 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