summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorJonathan Perkin <jonathan.perkin@oracle.com>2010-04-01 13:35:16 +0200
committerJonathan Perkin <jonathan.perkin@oracle.com>2010-04-01 13:35:16 +0200
commitf3ebc19a33e6c528c2d1c143a37cac167424a1ab (patch)
tree245f7a3539daa9586d494e3dd95d5f0e26d18932 /cmake
parent1f5ce2fb1ff05296d056a6734602ae8b5d97f14b (diff)
downloadmariadb-git-f3ebc19a33e6c528c2d1c143a37cac167424a1ab.tar.gz
Try to fix datadir
Diffstat (limited to 'cmake')
-rwxr-xr-xcmake/install_layout.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/install_layout.cmake b/cmake/install_layout.cmake
index cb7314d5085..619f40c5774 100755
--- a/cmake/install_layout.cmake
+++ b/cmake/install_layout.cmake
@@ -125,7 +125,7 @@ SET(INSTALL_SHAREDIR_RPM "share")
#SET(INSTALL_DOCREADMEDIR_RPM "${INSTALL_DOCDIR_RPM}")
SET(INSTALL_INFODIR_RPM "${INSTALL_SHAREDIR_RPM}/info")
SET(INSTALL_MANDIR_RPM "${INSTALL_SHAREDIR_RPM}/man")
-SET(INSTALL_MYSQLDATADIR_RPM "var")
+SET(INSTALL_MYSQLDATADIR_RPM "/var/lib/mysql")
SET(INSTALL_MYSQLSHAREDIR_RPM "${INSTALL_SHAREDIR_RPM}/mysql")
SET(INSTALL_MYSQLTESTDIR_RPM "${INSTALL_SHAREDIR_RPM}/mysql-test")
SET(INSTALL_PLUGINDIR_RPM "${INSTALL_LIBDIR_RPM}/mysql/plugin")
@@ -167,7 +167,7 @@ SET(INSTALL_MYSQLTESTDIR_SVR4 "mysql-test")
SET(INSTALL_SQLBENCHROOTDIR_SVR4 ".")
SET(INSTALL_DOCREADMEDIR_SVR4 ".")
SET(INSTALL_SUPPORTFILESDIR_SVR4 "support-files")
-SET(MYSQL_DATADIR "/var/lib/mysql")
+SET(INSTALL_MYSQLDATADIR_RPM "/var/lib/mysql")
# Clear cached variables if install layout was changed
IF(OLD_INSTALL_LAYOUT)