aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2014-02-24 22:49:53 -0800
committerAdam Vandenberg2014-02-27 08:21:18 -0800
commitd1cd9c702bf40c1bca870647f844ca6df851133b (patch)
tree3e69a694e00677decbc716ba8eead213a6127230 /Library/Formula
parentf82c0ab01f1164ec098551419c1162717fd4b649 (diff)
downloadhomebrew-d1cd9c702bf40c1bca870647f844ca6df851133b.tar.bz2
slonly: use Formula[]
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/slony.rb4
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