From: Dinko Korunic Date: Wed, 31 Oct 2007 17:11:51 +0000 (+0000) Subject: r12: - add "" around $script X-Git-Tag: v9.7.3~7 X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=commitdiff_plain;h=090c1bf5d3ed4ab16c1b9d57f984402812f2a3f5;p=bind9-cn.git r12: - add "" around $script --- 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