improve extconf glob to find osx stock installs (/usr/local/mysql-5.0.51b-osx10.5-x86/bin/mysql_config)

This commit is contained in:
Aman Gupta 2009-01-25 12:58:46 -08:00
parent 8320b50e64
commit e259f9507e

View File

@ -8,8 +8,9 @@ dirs = ENV['PATH'].split(':') + %w[
/usr /usr
/usr/local /usr/local
/usr/local/mysql /usr/local/mysql
/usr/local/mysql-*
/usr/local/lib/mysql5 /usr/local/lib/mysql5
] ].map{|dir| "#{dir}/bin" }
GLOB = "{#{dirs.join(',')}}/{mysql_config,mysql_config5}" GLOB = "{#{dirs.join(',')}}/{mysql_config,mysql_config5}"