mirror of
https://github.com/MariaDB/server.git
synced 2025-01-15 19:42:28 +01:00
MDEV-30778: Remove Awk from mysql_install_db
Commit reduces need of AWK-command at least for Debian mariadb-server-compat package. Commit removes need of AWK-command from scripts/mysql_install_db.sh script. AWK command is replace by purely Posix sh compiliant version.
This commit is contained in:
parent
92772485b7
commit
a79abb6517
1 changed files with 1 additions and 1 deletions
|
@ -476,7 +476,7 @@ fi
|
|||
|
||||
if test "$ip_only" -eq 1
|
||||
then
|
||||
hostname=`echo "$resolved" | awk '/ /{print $6}'`
|
||||
hostname=`echo "$resolved" | while read a; do echo ${a##* }; done`
|
||||
fi
|
||||
|
||||
# Create database directories
|
||||
|
|
Loading…
Reference in a new issue