Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
MySQL::Sandbox make_sandbox_from_installed 64bit patch
diff --git a/bin/make_sandbox_from_installed b/bin/make_sandbox_from_installed
index 7b3b5d8..47976c0 100755
--- a/bin/make_sandbox_from_installed
+++ b/bin/make_sandbox_from_installed
@@ -98,8 +98,13 @@ for my $prefix (@prefixes) {
{
$found_install_db =1;
}
- if ( glob("$prefix/lib/mysql/libmysqlclient*")
- or glob( "$prefix/lib/libmysqlclient*") ) {
+ if (
+ glob("$prefix/lib/mysql/libmysqlclient*")
+ or glob("$prefix/lib64/mysql/libmysqlclient*")
+ or glob("$prefix/lib/libmysqlclient*")
+ or glob("$prefix/lib64/libmysqlclient*")
+ )
+ {
$found_libraries =1;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment