Use full path to zm_create.sql in bootstrap-zm.sh
This commit is contained in:
parent
78c9ed2a7f
commit
4cb0d7b1cd
|
@ -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
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue