DenyHosts: Fix CONFIG_FILE in constants.py

Substituted the value of a Python string variable without wrapping it in
quotes---this was causing the DenyHosts cron job to fail.
master
Charlie Sharpsteen 2011-09-25 22:35:07 -07:00
parent 3aef440b3e
commit 08f5a812d3
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ class Denyhosts < Formula
# Make it so that all DenyHosts tools have a default path that points at
# our config file.
inreplace 'DenyHosts/constants.py' do |s|
s.change_make_var! 'CONFIG_FILE', etc + 'denyhosts.cfg'
s.change_make_var! 'CONFIG_FILE', "'#{etc}/denyhosts.cfg'"
end
# Install mostly into libexec (a la Duplicity)
system "python", "setup.py", "install",