mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-11 15:30:00 -04:00
awk and toupper is not portable, use sed instead
This commit is contained in:
parent
7230ace1d3
commit
e77611f94c
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue