Update mysqlbu-scripts.sh

This commit is contained in:
2019-01-05 12:54:36 -06:00
parent 814e5d21dd
commit 91a0abb220

View File

@@ -119,7 +119,7 @@ case $1 in
for hour in $day/* ; do
thr=`sed 's/.*\///' <<< ${hour//_BASE/}`
if [ "`${hour: -5}`" = "_BASE" ]; then
if [ ${hour: -5} = "_BASE" ]; then
echo -e "${CS[color,LightGreen]} -> `date -d"${tdt} ${thr//-/:}" +"%I:%M %P"` - BASE${CS[color,Default]}"
else
echo -e "${CS[color,Green]} -> `date -d"${tdt} ${thr//-/:}" +"%I:%M %P"`${CS[color,Default]}"