aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorglvnst2013-09-25 14:32:47 -0700
committerAdam Vandenberg2013-11-05 22:00:57 -0800
commitfc06e0c6992f8bcc53a8c581a634f6cdf48dd1fe (patch)
treedd380521b7603a3a45e97b3d0cb536b6f01f8eba /Library/Formula
parente191900c2d0ff211120303b551e1cc8653e96eca (diff)
downloadhomebrew-fc06e0c6992f8bcc53a8c581a634f6cdf48dd1fe.tar.bz2
Removed (currently) unneeded regular expression magic that was creating an inreplace error.
Closes #22830. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/djbdns.rb2
1 files changed, 1 insertions, 1 deletions
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"