diff options
| author | Adam Vandenberg | 2014-02-26 20:31:51 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2014-02-27 08:21:24 -0800 |
| commit | 7f1570ebf3390d9fc2735b84452a0f10631227b8 (patch) | |
| tree | e4fdeeba33fb28cde17010875c3bc9260168e195 /Library/Formula | |
| parent | 5f493c83810fb7a72d3fce401244f363d5230429 (diff) | |
| download | homebrew-7f1570ebf3390d9fc2735b84452a0f10631227b8.tar.bz2 | |
pgtap: use Formula[]
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/pgtap.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Formula/pgtap.rb b/Library/Formula/pgtap.rb index e49e4c072..a42d605b1 100644 --- a/Library/Formula/pgtap.rb +++ b/Library/Formula/pgtap.rb @@ -41,8 +41,8 @@ class Pgtap < Formula system './Build', 'install' end - pg_config = Formula.factory('postgresql').opt_prefix/'bin/pg_config' - system 'make', "PG_CONFIG=#{pg_config}" - system 'make', "PG_CONFIG=#{pg_config}", 'install' + pg_config = Formula["postgresql"].opt_prefix/'bin/pg_config' + system "make", "PG_CONFIG=#{pg_config}" + system "make", "PG_CONFIG=#{pg_config}", "install" end end |
