awk and toupper is not portable, use sed instead
This commit is contained in:
@@ -297,7 +297,7 @@ zskname=`$KEYGEN -r $RANDFILE -a RSASHA1 -b 1024 -f KSK $zone`
|
||||
cat $infile $kskname.key $zskname.key > $zonefile
|
||||
$SIGNER -P -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
|
||||
|
||||
Reference in New Issue
Block a user