MDEV-23589: Portability: use uname -n instead of hostname

Closes PR #1663
This commit is contained in:
Geert Hendrickx 2020-08-27 17:30:03 +02:00 committed by Anel Husakovic
commit 1bb3ad6dfc
2 changed files with 2 additions and 2 deletions

View file

@ -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