]> mj.ucw.cz Git - nsc-5.git/commitdiff
Create directories if they do not exist
authorMartin Mares <mj@ucw.cz>
Sat, 22 Oct 2011 20:48:18 +0000 (22:48 +0200)
committerMartin Mares <mj@ucw.cz>
Sat, 22 Oct 2011 20:48:18 +0000 (22:48 +0200)
bin/nsconfig

index 14d34ed8431183789ac9c0c777b902a235f20e37..b891206934729ab39940d01fbc331b2f30025546 100755 (executable)
@@ -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