From: Martin Mares Date: Sat, 22 Oct 2011 20:48:18 +0000 (+0200) Subject: Create directories if they do not exist X-Git-Tag: v5.1~15^2~1 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=11945b1bea98305d496ff09cca8273607d2a3952;p=nsc-5.git Create directories if they do not exist --- diff --git a/bin/nsconfig b/bin/nsconfig index 14d34ed..b891206 100755 --- a/bin/nsconfig +++ b/bin/nsconfig @@ -12,6 +12,7 @@ if [ ! -f $DOMAINS ] ; then exit 1 fi +mkdir -p zone bak hash ver $M4 m4/mkconf.m4 $DOMAINS >named.conf $M4 m4/mkmf.m4 $DOMAINS >Makefile $M4 -DM4=$M4 m4/mkgenzone.m4 >bin/genzone