dns/master: zone.makefile: Added check for directories not equal

dehydrated
Felix Stupp 5 years ago
parent bb8a2759ec
commit ab61090340
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -13,6 +13,7 @@ ${dest}/${db_file}: ${dest}/${db_file}.unchecked
named-compilezone -o "$@" {{ domain | quote }} "$<"; named-compilezone -o "$@" {{ domain | quote }} "$<";
${dest}/${signed_file}: ${dest}/${db_file} ${dest}/${signed_file}: ${dest}/${db_file}
if [[ "$(dir $<)" != "$(dir $@)" ]]; then echo "directories not equal" > /dev/stderr; exit 1; fi
dnssec-signzone \ dnssec-signzone \
-3 $$(head -c 1000 /dev/urandom | sha1sum | cut -b 1-16) \ -3 $$(head -c 1000 /dev/urandom | sha1sum | cut -b 1-16) \
-a \ -a \

Loading…
Cancel
Save