~mdw
/
dnserr
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Makefile: Only include one copy of the old signatures.
[dnserr]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
d623e18
..
d1c6653
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-64,7
+64,10
@@
CLEAN += t.oldsig
dnserr.zone.sig: dnserr.zone.sigold dnserr.zone.signew
awk '$(OLDSIGMATCH) { print; }' \
dnserr.zone.sigold >t.oldsig
dnserr.zone.sig: dnserr.zone.sigold dnserr.zone.signew
awk '$(OLDSIGMATCH) { print; }' \
dnserr.zone.sigold >t.oldsig
- awk '$(OLDSIGMATCH) { system("cat t.oldsig"); next; } \
+ awk '$(OLDSIGMATCH) { \
+ if (!doneoldsig) { system("cat t.oldsig"); doneoldsig = 1; } \
+ next; \
+ } \
{ gsub(/invalid-rrsigx/, "invalid-rrsig"); print; }' \
dnserr.zone.signew >$@.new
rm t.oldsig
{ gsub(/invalid-rrsigx/, "invalid-rrsig"); print; }' \
dnserr.zone.signew >$@.new
rm t.oldsig