diff --git a/utils/travis/bootstrap-zm.sh b/utils/travis/bootstrap-zm.sh index b01d1dfba..397a8f90e 100644 --- a/utils/travis/bootstrap-zm.sh +++ b/utils/travis/bootstrap-zm.sh @@ -13,8 +13,6 @@ with_timestamps() { bootstrap_zm() { - cd $TRAVIS_BUILD_DIR - if [ "$ZM_BUILDMETHOD" = "autotools" ]; then libtoolize --force; fi if [ "$ZM_BUILDMETHOD" = "autotools" ]; then aclocal; fi if [ "$ZM_BUILDMETHOD" = "autotools" ]; then autoheader; fi @@ -24,7 +22,7 @@ bootstrap_zm() { mysql -uroot -e "CREATE DATABASE IF NOT EXISTS zm" mysql -uroot -e "GRANT ALL ON zm.* TO 'zmuser'@'localhost' IDENTIFIED BY 'zmpass'"; mysql -uroot -e "FLUSH PRIVILEGES" - mysql -uzmuser -pzmpass < db/zm_create.sql + mysql -uzmuser -pzmpass < ${TRAVIS_BUILD_DIR}/db/zm_create.sql }