aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorelliottcable2009-12-10 22:31:14 -0800
committerMax Howell2010-01-13 15:09:28 +0000
commit64226cef902f77f8f3af2baa4665bc91d1e29b2c (patch)
tree081c79574e88229d15ae04c7203e9da3c5dda1e2 /Library/Formula
parentfd104120a97b38649bc336c4feb80701e09ad0ad (diff)
downloadhomebrew-64226cef902f77f8f3af2baa4665bc91d1e29b2c.tar.bz2
This should really happen *before* make.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/redis.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/Library/Formula/redis.rb b/Library/Formula/redis.rb
index 97028f2fa..59af53a70 100644
--- a/Library/Formula/redis.rb
+++ b/Library/Formula/redis.rb
@@ -7,14 +7,14 @@ class Redis <Formula
sha1 '9a5de92aa57c2c70e1d168a4e985ec7d79dae882'
def install
- system "make"
-
- bin.install %w( redis-benchmark redis-cli redis-server )
-
%w( run db/redis log ).each do |path|
FileUtils.mkdir_p(var+path) unless File.directory?(var+path)
end
+ system "make"
+
+ bin.install %w( redis-benchmark redis-cli redis-server )
+
# set up the conf file
(etc+'redis.conf').write <<-REDIS_CONF
# Redis configuration file example