Skip to content

Instantly share code, notes, and snippets.

@masaki
Created February 26, 2014 11:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save masaki/9228211 to your computer and use it in GitHub Desktop.
Save masaki/9228211 to your computer and use it in GitHub Desktop.
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