diff options
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 |
