diff --git a/mysqlbu-scripts.sh b/mysqlbu-scripts.sh index b2ca016..2807c01 100755 --- a/mysqlbu-scripts.sh +++ b/mysqlbu-scripts.sh @@ -51,9 +51,12 @@ DELETE_BACKUP() { tba=`expr $tba + 1` done - thr=`echo ${tbus[$1]//_BASE/} | sed 's/.*\///'` - bsz=`du -sh ${thr} | awk '{print $1}'` sbu1=$tbus[$1] + thr=`echo ${sbu1//_BASE/} | sed 's/.*\///'` + bsz=`du -sh ${thr} | awk '{print $1}'` + + echo "HERE '${sbu1}' '${thr}'" + IFS=/ sbu1a=(${tbus[$1]}) unset IFS