summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2023-03-27 12:53:57 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2023-03-27 12:53:57 +0300
commitf6c5e917e0266b6facc9bf6c6a576b791c2cd797 (patch)
tree32f3be59f746ca25c6ac9ea8c748d67a3ac5af6f /scripts
parente371b1e2648f043f1bd27f416b0c52f083cbb410 (diff)
parent31487f4b2b6a3c038a39bb68ce96e9c400ca25d6 (diff)
downloadmariadb-git-f6c5e917e0266b6facc9bf6c6a576b791c2cd797.tar.gz
Merge 11.0 into 11.1
Diffstat (limited to 'scripts')
-rw-r--r--scripts/mysql_install_db.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/mysql_install_db.sh b/scripts/mysql_install_db.sh
index eec985396c4..b28e533ecd8 100644
--- a/scripts/mysql_install_db.sh
+++ b/scripts/mysql_install_db.sh
@@ -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