aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-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"