aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuke Petre2013-01-04 15:48:50 +0000
committerAdam Vandenberg2013-01-04 08:54:44 -0800
commitf73d9422c49ff2d29faddcb392ee75eee87c437a (patch)
tree5c2ce67cebf4ab0986bcabf4e7a282915d338ca2
parent028351bbc494fea4c01295b4810452eecfd28e8f (diff)
downloadhomebrew-f73d9422c49ff2d29faddcb392ee75eee87c437a.tar.bz2
logrotate: use HOMEBREW var
Closes #16886. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
-rw-r--r--Library/Formula/logrotate.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Formula/logrotate.rb b/Library/Formula/logrotate.rb
index 201f75cbf..babf62b0b 100644
--- a/Library/Formula/logrotate.rb
+++ b/Library/Formula/logrotate.rb
@@ -18,6 +18,7 @@ class Logrotate < Formula
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'