From fc06e0c6992f8bcc53a8c581a634f6cdf48dd1fe Mon Sep 17 00:00:00 2001 From: glvnst Date: Wed, 25 Sep 2013 14:32:47 -0700 Subject: Removed (currently) unneeded regular expression magic that was creating an inreplace error. Closes #22830. Signed-off-by: Adam Vandenberg --- Library/Formula/djbdns.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Formula') diff --git a/Library/Formula/djbdns.rb b/Library/Formula/djbdns.rb index 9e4b3051f..4d65dfdd1 100644 --- a/Library/Formula/djbdns.rb +++ b/Library/Formula/djbdns.rb @@ -9,7 +9,7 @@ class Djbdns < Formula def install inreplace 'hier.c', 'c("/"', 'c(auto_home' - inreplace 'dnscache-conf.c', '([" ])/etc/dnsroots', "$1#{etc}/dnsroots" + inreplace 'dnscache-conf.c', '/etc/dnsroots', "#{etc}/dnsroots" system "echo gcc -O2 -include /usr/include/errno.h > conf-cc" system "echo #{prefix} > conf-home" system "echo gcc > conf-ld" -- cgit v1.2.3