Skip to content

Commit 3cd436a

Browse files
committed
Ensure that DBD_MARIADB_CONFIG on Travis points to script file
Previously it was fragment of shell code and such thing is not supported by Makefile.PL.
1 parent b952904 commit 3cd436a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,9 @@ before_script:
474474
export DBD_MARIADB_CONFIG="skip" ;
475475
fi ;
476476
elif [ -n "$DB" ]; then
477-
export DBD_MARIADB_CONFIG="$SANDBOX_HOME/msb/my sql_config" ;
477+
printf '#!/bin/sh\nexec %s/msb/my sql_config "$@"\n' $SANDBOX_HOME > "$HOME/mysql_config" ;
478+
chmod +x $HOME/mysql_config ;
479+
export DBD_MARIADB_CONFIG="$HOME/mysql_config" ;
478480
elif [ "$MYSQL_CONFIG" = "PIC" ]; then
479481
sed 's/-L\$pkglibdir *-lmysqld/-L\/usr\/lib\/mysql -lmysqld_pic /' `which mysql_config_pic` > "$HOME/mysql_config_pic" ;
480482
chmod +x $HOME/mysql_config_pic ;

0 commit comments

Comments
 (0)