mirror of
https://github.com/certbot/certbot.git
synced 2026-08-03 19:52:34 +02:00
Merge pull request #6638 from certbot/mawkish
Compatibility with more traditional versions of awk
This commit is contained in:
@@ -174,7 +174,7 @@ CheckRenewHook() {
|
|||||||
TotalAndDistinctLines() {
|
TotalAndDistinctLines() {
|
||||||
total=$1
|
total=$1
|
||||||
distinct=$2
|
distinct=$2
|
||||||
awk '{a[$1] = 1}; END {exit(NR !='$total' || length(a) !='$distinct')}'
|
awk '{a[$1] = 1}; END {n = 0; for (i in a) { n++ }; exit(NR !='$total' || n !='$distinct')}'
|
||||||
}
|
}
|
||||||
|
|
||||||
# Cleanup coverage data
|
# Cleanup coverage data
|
||||||
|
|||||||
Reference in New Issue
Block a user