bug#51264: MySQL.prefPane fails to run
@prefix@ was erroneously set to '.' with the STANDALONE install layout, when it should instead be set to CMAKE_INSTALL_PREFIX, this was likely accidentally copied from scripts/CMakeLists.txt which has similar handling specifically for mysql_install_db.sh mysql.server init script can now find the install, assuming the defaults have been chosen.
This commit is contained in:
parent
7d5df40277
commit
2b39e065d7
@ -48,14 +48,7 @@ FOREACH(inifile my-huge my-innodb-heavy-4G my-large my-medium my-small)
|
|||||||
ENDFOREACH()
|
ENDFOREACH()
|
||||||
|
|
||||||
IF(UNIX)
|
IF(UNIX)
|
||||||
# XXX: again, used elsewhere (scripts/), should be standardised in
|
SET(prefix ${CMAKE_INSTALL_PREFIX})
|
||||||
# XXX: install_layout.cmake
|
|
||||||
IF(INSTALL_LAYOUT MATCHES "STANDALONE")
|
|
||||||
SET(prefix ".")
|
|
||||||
ELSE()
|
|
||||||
SET(prefix ${CMAKE_INSTALL_PREFIX})
|
|
||||||
ENDIF()
|
|
||||||
|
|
||||||
FOREACH(script mysqld_multi.server mysql-log-rotate binary-configure
|
FOREACH(script mysqld_multi.server mysql-log-rotate binary-configure
|
||||||
config.medium.ini config.small.ini config.huge.ini ndb-config-2-node.ini)
|
config.medium.ini config.small.ini config.huge.ini ndb-config-2-node.ini)
|
||||||
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/${script}.sh
|
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/${script}.sh
|
||||||
|
Loading…
x
Reference in New Issue
Block a user