mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-22 01:59:26 +00:00
awk and toupper is not portable, use sed instead
This commit is contained in:
parent
1fb0e1b20f
commit
9b6e76e5e7
@ -396,7 +396,7 @@ zskname=`$KEYGEN -q -r $RANDFILE -f KSK $zone`
|
||||
cp $infile $zonefile
|
||||
$SIGNER -P -S -r $RANDFILE -o $zone -f $lower $zonefile > /dev/null 2>&1
|
||||
$CHECKZONE -D upper.example $lower 2>&- | \
|
||||
awk '$4 == "RRSIG" {$12 = toupper($12); print; next} { print }' > $signedfile
|
||||
sed '/RRSIG/s/ upper.example. / UPPER.EXAMPLE. /' > $signedfile
|
||||
|
||||
#
|
||||
# Check that the signer's name is in lower case when zone name is in
|
||||
|
Loading…
x
Reference in New Issue
Block a user