a555f2
Error: SHELLCHECK_WARNING:
a555f2
/usr/bin/mysql_install_db:431:10: warning: Remove backticks to avoid executing output. [SC2092]
a555f2
#  429|     if test ! -d "$dir"
a555f2
#  430|     then
a555f2
#  431|->     if ! `mkdir -p "$dir"`
a555f2
#  432|       then
a555f2
#  433|         echo "Fatal error Can't create database directory '$dir'"
a555f2
--- mariadb-10.3.10/scripts/mysql_install_db.sh	2018-10-02 11:45:42.000000000 +0200
a555f2
+++ mariadb-10.3.10/scripts/mysql_install_db.sh_patched	2018-11-14 10:06:54.868469138 +0100
a555f2
@@ -428,7 +428,7 @@ for dir in "$ldata" "$ldata/mysql"
a555f2
 do
a555f2
   if test ! -d "$dir"
a555f2
   then
a555f2
-    if ! `mkdir -p "$dir"`
a555f2
+    if ! mkdir -p "$dir"
a555f2
     then
a555f2
       echo "Fatal error Can't create database directory '$dir'"
a555f2
       link_to_help
a555f2
a555f2
a555f2
a555f2
Error: SHELLCHECK_WARNING:
a555f2
/usr/bin/mysqld_safe:716:8: warning: Remove backticks to avoid executing output. [SC2092]
a555f2
#  714|   if [ ! -d $mysql_unix_port_dir ]
a555f2
#  715|   then
a555f2
#  716|->   if ! `mkdir -p $mysql_unix_port_dir`
a555f2
#  717|     then
a555f2
#  718|       log_error "Fatal error Can't create database directory '$mysql_unix_port'"
a555f2
--- mariadb-10.3.10/scripts/mysqld_safe.sh	2018-10-02 11:45:42.000000000 +0200
a555f2
+++ mariadb-10.3.10/scripts/mysqld_safe.sh_patched	2018-11-14 10:10:45.325464636 +0100
a555f2
@@ -713,7 +713,7 @@ safe_mysql_unix_port=${mysql_unix_port:-
a555f2
 mysql_unix_port_dir=`dirname $safe_mysql_unix_port`
a555f2
 if [ ! -d $mysql_unix_port_dir ]
a555f2
 then
a555f2
-  if ! `mkdir -p $mysql_unix_port_dir`
a555f2
+  if ! mkdir -p $mysql_unix_port_dir
a555f2
   then
a555f2
     log_error "Fatal error Can't create database directory '$mysql_unix_port'"
a555f2
     exit 1