Created
February 26, 2014 11:53
-
-
Save masaki/9228211 to your computer and use it in GitHub Desktop.
MySQL::Sandbox make_sandbox_from_installed 64bit patch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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