Skip to content

Commit 2874355

Browse files
committed
NODOT_VER uncommented
1 parent 4224bde commit 2874355

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

automysqlbackup

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,10 +103,10 @@ load_default_config() {
103103
}
104104

105105
mysql_commands() {
106-
if [[ -r "${CONFIG_configfile}" ]]; then source "${CONFIG_configfile}"; else let "N |= $N_config_file_missing"; fi
106+
if [ -r "${CONFIG_configfile}" ]; then source "${CONFIG_configfile}"; else let "N |= $N_config_file_missing"; fi
107107

108-
#VERSION=`mysql -V | grep -oE "[0-9]+\.[0-9]+\.[0-9]+"`
109-
#NODOT_VER=`echo $VERSION | sed -r 's/\.//g'`
108+
VERSION=`mysql -V | grep -oE "[0-9]+\.[0-9]+\.[0-9]+"`
109+
NODOT_VER=`echo $VERSION | sed -r 's/\.//g'`
110110
if [ "${CONFIG_mysql_dump_encrypted_login}" = "yes" ]; then
111111
#if [ "X`echo $VERSION | grep -E "5.6|5.7"`" != "X" ]; then
112112
export MYSQLDUMP="mysqldump --login-path=$CONFIG_mysql_dump_login_path"

0 commit comments

Comments
 (0)