summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorGeert Hendrickx <geert@hendrickx.be>2020-08-27 17:30:03 +0200
committerAnel Husakovic <anel@mariadb.org>2020-09-10 08:45:54 +0200
commit1bb3ad6dfc885112d05d8d73b066f18a416ca965 (patch)
treee3846a377c684e9efd3b5bafa81b0daaa0d7786d /scripts
parentcf9b3b25b41f714d681c80736e98c402076d989b (diff)
downloadmariadb-git-1bb3ad6dfc885112d05d8d73b066f18a416ca965.tar.gz
MDEV-23589: Portability: use `uname -n` instead of `hostname`
Closes PR #1663
Diffstat (limited to 'scripts')
-rw-r--r--scripts/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/CMakeLists.txt b/scripts/CMakeLists.txt
index 33e32ea22f7..eafb051ad60 100644
--- a/scripts/CMakeLists.txt
+++ b/scripts/CMakeLists.txt
@@ -162,7 +162,7 @@ ELSE()
SET(CHECK_PID "kill -s SIGCONT $PID > /dev/null 2> /dev/null")
ENDIF()
-SET(HOSTNAME "hostname")
+SET(HOSTNAME "uname -n")
SET(MYSQLD_USER "mysql")
ENDIF(UNIX)