aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Nagel2014-09-27 19:10:37 -0500
committerJack Nagel2014-09-27 19:11:51 -0500
commit194c8a1c73be691e025c6b0bcbec4c8fbaa9217a (patch)
tree4d4c01580a6c25e09f418e37502c419b31e49dc7
parent3081621a457c70548c9637ff5ab94c3ccd37808d (diff)
downloadhomebrew-194c8a1c73be691e025c6b0bcbec4c8fbaa9217a.tar.bz2
lighttpd: fix bad regexp
Found by 3081621a457c70548c9637ff5ab94c3ccd37808d.
-rw-r--r--Library/Formula/lighttpd.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/lighttpd.rb b/Library/Formula/lighttpd.rb
index 3dc949af4..e12f71aec 100644
--- a/Library/Formula/lighttpd.rb
+++ b/Library/Formula/lighttpd.rb
@@ -64,7 +64,7 @@ class Lighttpd < Formula
s.sub!(/^var\.home_dir\s*=\s*".+"$/,"var.home_dir = \"#{run_path}\"")
s.sub!(/^var\.conf_dir\s*=\s*".+"$/,"var.conf_dir = \"#{config_path}\"")
s.sub!(/^server\.port\s*=\s*80$/,'server.port = 8080')
- s.sub!(/^server\.document-root\s*=\s*server_root + "\/htdocs"$/,'server.document-root = server_root')
+ s.sub!(/^server\.document-root\s*=\s*server_root \+ "\/htdocs"$/,'server.document-root = server_root')
# get rid of "warning: please use server.use-ipv6 only for hostnames, not
# without server.bind / empty address; your config will break if the kernel