mirror of
https://github.com/MariaDB/server.git
synced 2026-05-06 23:25:34 +02:00
MDEV-5124 cmake failure when fullhostname is not resolved
expand fullhostname inside the string, to have an empty string, not nothing, when fullhostname is not defined
This commit is contained in:
parent
3d57c343e5
commit
db635ab590
1 changed files with 1 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ macro(hostname out)
|
|||
COMMAND hostname
|
||||
OUTPUT_VARIABLE fullhostname
|
||||
OUTPUT_STRIP_TRAILING_WHITESPACE)
|
||||
string(REGEX REPLACE "\\.tokutek\\.com$" "" ${out} ${fullhostname})
|
||||
string(REGEX REPLACE "\\.tokutek\\.com$" "" ${out} "${fullhostname}")
|
||||
endmacro(hostname)
|
||||
|
||||
## gather machine info
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue