From 194c8a1c73be691e025c6b0bcbec4c8fbaa9217a Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sat, 27 Sep 2014 19:10:37 -0500 Subject: lighttpd: fix bad regexp Found by 3081621a457c70548c9637ff5ab94c3ccd37808d. --- Library/Formula/lighttpd.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Formula') 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 -- cgit v1.2.3