diff --git a/component/mariadb/buildout.cfg b/component/mariadb/buildout.cfg index c1dc74d6164c38fcbc517fdd8af7e2d7b4812dd1..7960f781da411a54d8b80fa44d46831487a556a7 100644 --- a/component/mariadb/buildout.cfg +++ b/component/mariadb/buildout.cfg @@ -100,8 +100,8 @@ pre-configure = cd fake_mariadb_source ln -s ${mariadb:location}/wsrep-lib cp -a ${mariadb:location}/include/mysql/server include - cp -a include/private sql - chmod -R a+w include sql # so that buildout can delete this compile-dir after install + chmod -R u+w include # so that buildout can delete this compile-dir after install + mv include/private sql mkdir -p ${:plugin-dir} configure-options = --with-mysql-source=fake_mariadb_source @@ -109,7 +109,7 @@ configure-options = --disable-static --disable-document post-install = - cp -ra ${mariadb:location}/lib/plugin/* ${:plugin-dir} + cp -rs ${mariadb:location}/lib/plugin/* ${:plugin-dir} plugin-dir = @@LOCATION@@/lib/plugin install-sql = @@LOCATION@@/share/mroonga/install.sql make-targets = plugindir=${:plugin-dir} install