X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=bin%2Fnsconfig;h=229dc3619f12ca8bec5d4e88866f219911d1eef0;hb=5ee4fe9955e1a90bd8893d8cb4c8e6a9c1524ded;hp=b104932d6ed9240edb5d7886bd01b5861dacca78;hpb=ad59bf15d0e8a781477a25f69b97f7d4c9eb0e00;p=nsc-5.git diff --git a/bin/nsconfig b/bin/nsconfig index b104932..229dc36 100755 --- a/bin/nsconfig +++ b/bin/nsconfig @@ -1,6 +1,6 @@ -#!/bin/bash +#!/bin/sh # NSC -- Makefile & Config file build script -# (c) 1997--2003 Martin Mares +# (c) 1997--2019 Martin Mares set -e @@ -12,5 +12,7 @@ if [ ! -f $DOMAINS ] ; then exit 1 fi +mkdir -p zone bak hash ver keys khash dss tmp $M4 m4/mkconf.m4 $DOMAINS >named.conf -$M4 m4/mkmf.m4 $DOMAINS >Makefile -DM4=$M4 +$M4 m4/mkmf.m4 $DOMAINS >Makefile +$M4 -DM4=$M4 m4/mkshell-env.m4 >bin/shell-env