From: Martin Mares Date: Sat, 22 Oct 2011 20:48:18 +0000 (+0200) Subject: Create directories if they do not exist X-Git-Tag: v4.0~1 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=b739e9c1a4d7b4d9b04c484b896dc6a79b9e7a5f;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