summaryrefslogtreecommitdiff
path: root/support-files
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 /support-files
parentcf9b3b25b41f714d681c80736e98c402076d989b (diff)
downloadmariadb-git-1bb3ad6dfc885112d05d8d73b066f18a416ca965.tar.gz
MDEV-23589: Portability: use `uname -n` instead of `hostname`
Closes PR #1663
Diffstat (limited to 'support-files')
-rw-r--r--support-files/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/support-files/CMakeLists.txt b/support-files/CMakeLists.txt
index 80b6ca386df..2a17cf6d0d8 100644
--- a/support-files/CMakeLists.txt
+++ b/support-files/CMakeLists.txt
@@ -30,7 +30,7 @@ ELSE()
SET(CXXFLAGS ${CMAKE_CXX_FLAGS})
SET(MYSQLD_USER "mysql")
SET(ini_file_extension "cnf")
- SET(HOSTNAME "hostname")
+ SET(HOSTNAME "uname -n")
ENDIF()
# XXX: shouldn't we just have variables for all this stuff and centralise