net-mgmt/check_nwc_health: Work around port scout failure
Out of the blue (on 6-Apr-2022) pkg-fallout started objecting to
an awk expression in a support script:
/usr/bin/awk: syntax error in regular expression ^#! ?\/.*\/[a-z]{0,2}awk at 0 source line number 44 source file ./subst context is /^#! ?\/.*\/[a-z]{0,2}awk/ {sub(/^#! ?\/.*\/[a-z]{0,2}awk/,"#! >>> /usr/bin/awk") <<< ;} *** [check_nwc_health] Error code 2
This only happens with 12.3 and the amd64 and arm64 architectures
and I have never been able to reproduce the error in a poudriere
jail.
Remove the offending expression (which is not used by check_nwc_health).
Reported by: portscout