From 8d3fd5d68140c83a79844d58965c90508f059bbc Mon Sep 17 00:00:00 2001 From: geos_one Date: Wed, 23 Dec 2009 19:57:31 +0000 Subject: [PATCH] start the setup.sh script of the storage engine if present git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/mysql@1733 6952d904-891a-0410-993b-d76249ca496b --- eclass/mysql.eclass | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/eclass/mysql.eclass b/eclass/mysql.eclass index 436e29a..1fc7016 100644 --- a/eclass/mysql.eclass +++ b/eclass/mysql.eclass @@ -473,6 +473,11 @@ configure_51() { [[ ${str} = "innodb" ]] && str="innobase" [[ ${str} = "xtradb" ]] && str="innobase" [[ ! -d storage/${str} ]] && eerror "use ${str} but no ${str} plugin" + if [ -e storage/${str}/setup.sh ]; then + pushd storage/${str} + sh setup.sh + popd + fi fi done