From 8a3dbab04cadeb958d609967aaca80ab1f667038 Mon Sep 17 00:00:00 2001 From: Pieter Lexis Date: Fri, 23 Oct 2015 12:50:13 +0200 Subject: [PATCH] Perl correctly for the recursor configure script --- pdns/configure-recursor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/configure-recursor b/pdns/configure-recursor index a2dc30723..9bba2b2ec 100755 --- a/pdns/configure-recursor +++ b/pdns/configure-recursor @@ -35,7 +35,7 @@ case $(uname) in BUILD_HOST="${BUILD_USER}@$(hostname -f || echo 'localhost')" ;; esac -perl -p -i -e '/#define BUILD_HOST/d' config.h +perl -p -n -i -e 'print unless /#define BUILD_HOST/' config.h cat >> config.h << EOF #define BUILD_HOST "${BUILD_HOST}" EOF -- 2.50.1