Update mysqlbu-scripts.sh

This commit is contained in:
2019-01-07 21:20:50 -06:00
parent ecc941d77d
commit c888be1d06

View File

@@ -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