From 090c1bf5d3ed4ab16c1b9d57f984402812f2a3f5 Mon Sep 17 00:00:00 2001 From: Dinko Korunic Date: Wed, 31 Oct 2007 17:11:51 +0000 Subject: [PATCH] r12: - add "" around $script --- debian/postinst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/postinst b/debian/postinst index d5f2e77..49b83ca 100755 --- a/debian/postinst +++ b/debian/postinst @@ -153,10 +153,10 @@ EOF script='/^logging/,/^}/ { if ($0 ~ /category lame-servers/) { print "yes"; exit } }' lameconf= if [ -e /etc/bind/named.conf.options -a -e /etc/bind/named.conf ]; then - lameconf=$(cat /etc/bind/named.conf /etc/bind/named.conf.options | awk $script) + lameconf=$(cat /etc/bind/named.conf /etc/bind/named.conf.options | awk "$script") else if [ -e /etc/bind/named.conf ]; then - lameconf=$(awk $script /etc/bind/named.conf) + lameconf=$(awk "$script" /etc/bind/named.conf) fi fi if [ "x$lameconf" != "xyes" ]; then -- 1.7.10.4