File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -103,10 +103,10 @@ load_default_config() {
103103}
104104
105105mysql_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 "
You can’t perform that action at this time.
0 commit comments