diff --git a/mysqlbu-scripts.sh b/mysqlbu-scripts.sh index ed1e01e..3fc0c24 100755 --- a/mysqlbu-scripts.sh +++ b/mysqlbu-scripts.sh @@ -308,7 +308,7 @@ case $1 in echo -e "${idsCL[LightGreen]}---------------------------------------------------------------------------${idsCL[Default]}" echo "" echo -e "${idsCL[LightYellow]}============ Available MySQL Backups ============${idsCL[Default]}" - for day in $BACKUP_PATH* ; do + for day in $BACKUP_PATH/* ; do if [ "${day}" != "${BACKUP_PATH}/latest" ]; then echo "HERE: ${day}" tdt=`sed 's/.*\///' <<< $day`