diff options
| author | Mike McQuaid | 2014-12-27 16:11:05 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2014-12-27 16:31:48 +0000 |
| commit | 56418133d6e1294c47c4c415b0049e9c978edce9 (patch) | |
| tree | dcefd8e0124338f24e4d12f9921881413af36ba9 /Library | |
| parent | 975a8fd5306f0d06bb8634bfee8af28a52113961 (diff) | |
| download | homebrew-56418133d6e1294c47c4c415b0049e9c978edce9.tar.bz2 | |
redis: fix strict audit failures.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/redis.rb | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/Library/Formula/redis.rb b/Library/Formula/redis.rb index da694813b..b241ece7d 100644 --- a/Library/Formula/redis.rb +++ b/Library/Formula/redis.rb @@ -1,7 +1,5 @@ -require 'formula' - class Redis < Formula - homepage 'http://redis.io/' + homepage "http://redis.io/" url "http://download.redis.io/releases/redis-2.8.19.tar.gz" sha1 "3e362f4770ac2fdbdce58a5aa951c1967e0facc8" @@ -11,11 +9,11 @@ class Redis < Formula sha1 "4b8100b40edd0e6ef695e28bf4fd30360939c3f3" => :mountain_lion end - head 'https://github.com/antirez/redis.git', :branch => 'unstable' + head "https://github.com/antirez/redis.git", :branch => "unstable" fails_with :llvm do build 2334 - cause 'Fails with "reference out of range from _linenoise"' + cause "Fails with \"reference out of range from _linenoise\"" end def install @@ -23,7 +21,7 @@ class Redis < Formula ENV["OBJARCH"] = "-arch #{MacOS.preferred_arch}" # Head and stable have different code layouts - src = (buildpath/'src/Makefile').exist? ? buildpath/'src' : buildpath + src = (buildpath/"src/Makefile").exist? ? buildpath/"src" : buildpath system "make", "-C", src, "CC=#{ENV.cc}" %w[benchmark cli server check-dump check-aof sentinel].each { |p| bin.install src/"redis-#{p}" } @@ -36,8 +34,8 @@ class Redis < Formula s.gsub! "\# bind 127.0.0.1", "bind 127.0.0.1" end - etc.install 'redis.conf' - etc.install 'sentinel.conf' => 'redis-sentinel.conf' + etc.install "redis.conf" + etc.install "sentinel.conf" => "redis-sentinel.conf" end plist_options :manual => "redis-server #{HOMEBREW_PREFIX}/etc/redis.conf" |
