diff options
| author | Adam Vandenberg | 2014-02-24 22:49:53 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2014-02-27 08:21:18 -0800 |
| commit | d1cd9c702bf40c1bca870647f844ca6df851133b (patch) | |
| tree | 3e69a694e00677decbc716ba8eead213a6127230 /Library/Formula | |
| parent | f82c0ab01f1164ec098551419c1162717fd4b649 (diff) | |
| download | homebrew-d1cd9c702bf40c1bca870647f844ca6df851133b.tar.bz2 | |
slonly: use Formula[]
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/slony.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/slony.rb b/Library/Formula/slony.rb index 79f492f37..910afcfe7 100644 --- a/Library/Formula/slony.rb +++ b/Library/Formula/slony.rb @@ -8,7 +8,7 @@ class Slony < Formula depends_on :postgresql def install - postgres = Formula.factory('postgresql') + postgres = Formula['postgresql'] system "./configure", "--disable-debug", "--with-pgconfigdir=#{postgres.opt_prefix}/bin", "--prefix=#{prefix}" @@ -16,6 +16,6 @@ class Slony < Formula end test do - system "slon", "-v" + system bin/"slon", "-v" end end |
