Skip to content
Permalink
Browse files
MDEV-23589: Portability: use uname -n instead of hostname
Closes PR #1663
  • Loading branch information
ghen2 authored and an3l committed Sep 10, 2020
1 parent cf9b3b2 commit 1bb3ad6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
@@ -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)

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

0 comments on commit 1bb3ad6

Please sign in to comment.