2
0
mirror of https://github.com/boostorg/mysql.git synced 2026-02-15 13:12:21 +00:00

Attempt to resolve undefined config include order

This commit is contained in:
ruben
2020-04-16 13:19:02 +01:00
parent 48f0a59ef5
commit f43acc46eb

View File

@@ -15,7 +15,9 @@ if [ $TRAVIS_OS_NAME == "osx" ]; then
export MYSQL_HAS_SHA256=1
fi
else
sudo cp ci/unix-ci.cnf /etc/mysql/$DATABASE.conf.d/99-ci.cnf
# Inclusion order in config files is undefined, so we append to the main config file
PRINTF_STRING="\n!include $(pwd)/ci/unix-ci.cnf\n\n"
sudo bash -c "printf \"$PRINTF_STRING\" >> /etc/mysql/my.cnf"
find /etc/mysql/ -type f | xargs -I {} sudo bash -c "echo ---Printing {} && cat {}"
sudo service mysql restart
wget https://github.com/Kitware/CMake/releases/download/v3.17.0/cmake-3.17.0-Linux-x86_64.sh -q -O cmake-latest.sh