diff options
| author | Adam Vandenberg | 2012-03-03 15:50:27 -0800 | 
|---|---|---|
| committer | Adam Vandenberg | 2012-03-06 06:53:07 -0800 | 
| commit | 841324b880c4fa5a7e86beca38152e42467598b9 (patch) | |
| tree | 02f9a25c770c93cc37bdd4a2c0d545e01579f3b3 /Library/Formula/mysql-proxy.rb | |
| parent | 9cf15ae6dccd02aca662e118354457a3ae070630 (diff) | |
| download | homebrew-841324b880c4fa5a7e86beca38152e42467598b9.tar.bz2 | |
use which method
Diffstat (limited to 'Library/Formula/mysql-proxy.rb')
| -rw-r--r-- | Library/Formula/mysql-proxy.rb | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/mysql-proxy.rb b/Library/Formula/mysql-proxy.rb index f46c8a578..eadffe616 100644 --- a/Library/Formula/mysql-proxy.rb +++ b/Library/Formula/mysql-proxy.rb @@ -11,8 +11,8 @@ class MysqlProxy < Formula    depends_on 'lua'    def install -    if `which mysql_config`.chomp.empty? -      opoo "`mysql_config` not found" +    unless which 'mysql_config' +      opoo "`mysql_config` was not found"        puts "This software requires the MySQL client libraries."        puts "You can install them via Homebrew with one of these:"        puts "  brew install mysql-connector-c"  | 
