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/pgtap.rb | |
| parent | 9cf15ae6dccd02aca662e118354457a3ae070630 (diff) | |
| download | homebrew-841324b880c4fa5a7e86beca38152e42467598b9.tar.bz2 | |
use which method
Diffstat (limited to 'Library/Formula/pgtap.rb')
| -rw-r--r-- | Library/Formula/pgtap.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/pgtap.rb b/Library/Formula/pgtap.rb index 42b13253c..16415304a 100644 --- a/Library/Formula/pgtap.rb +++ b/Library/Formula/pgtap.rb @@ -8,7 +8,7 @@ class Pgtap < Formula skip_clean :all def install - unless `/usr/bin/which pg_config`.size > 0 + unless which 'pg_config' opoo "No pg_config was detected." puts <<-EOS.undent pg_top requires postgresql in order to compile, but pg_config was not |
