This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

logrotate: use HOMEBREW var

Closes #16886.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
  • Loading branch information...
1 parent ee82c48 commit 43f89a058a4ef98a17e13cf2139c9c5fd8d5b348 @lpetre lpetre committed with klausmeyer Jan 4, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 Library/Formula/logrotate.rb
@@ -18,6 +18,7 @@ def install
ENV["COMPRESS_COMMAND"] = "/usr/bin/gzip"
ENV["COMPRESS_EXT"] = ".gz"
ENV["UNCOMPRESS_COMMAND"] = "/usr/bin/gunzip"
+ ENV["STATEFILE"] = "#{var}/lib/logrotate.status"
system "make"
sbin.install 'logrotate'

0 comments on commit 43f89a0

Please sign in to comment.