aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMike McQuaid2013-09-12 17:59:28 +0100
committerMike McQuaid2013-09-12 18:05:21 +0100
commit0159577b817c60e398b4b357d94f59328ffa0082 (patch)
treee24e99171afcd233e7a3fd68b25decf4cf4c40d2 /Library/Formula
parentccf32d4e7b34c4ddff9820c313ba1b17f5c57af9 (diff)
downloadhomebrew-0159577b817c60e398b4b357d94f59328ffa0082.tar.bz2
lighttpd: fix config paths.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/lighttpd.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Formula/lighttpd.rb b/Library/Formula/lighttpd.rb
index f2b395c5f..31a813dd6 100644
--- a/Library/Formula/lighttpd.rb
+++ b/Library/Formula/lighttpd.rb
@@ -77,7 +77,7 @@ class Lighttpd < Formula
end
test do
- system "#{bin}/lighttpd", '-t', '-f', "#{HOMEBREW_PREFIX}/etc/lighttpd.conf"
+ system "#{bin}/lighttpd", '-t', '-f', "#{config_path}lighttpd.conf"
end
def caveats; <<-EOS.undent
@@ -88,7 +88,7 @@ class Lighttpd < Formula
EOS
end
- plist_options :manual => "lighttpd -f #{HOMEBREW_PREFIX}/etc/lighttpd.conf"
+ plist_options :manual => "lighttpd -f #{HOMEBREW_PREFIX}/etc/lighttpd/lighttpd.conf"
def plist; <<-EOS.undent
<?xml version="1.0" encoding="UTF-8"?>
@@ -102,7 +102,7 @@ class Lighttpd < Formula
<string>#{opt_prefix}/bin/lighttpd</string>
<string>-D</string>
<string>-f</string>
- <string>#{config_path}/lighttpd.conf</string>
+ <string>#{config_path}lighttpd.conf</string>
</array>
<key>RunAtLoad</key>
<true/>