crypt: Adjust check-local-headers.sh for nspr4 include directory [BZ #17956]

This commit is contained in:
Florian Weimer 2017-10-04 15:49:06 +02:00
parent 57b4af1955
commit 11c4f5010c
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2017-10-04 Florian Weimer <fweimer@redhat.com>
* scripts/check-local-headers.sh: Ignore nspr4 header file
directory in addition to nspr.
2017-10-04 Guido Trentalancia <guido@trentalancia.net>
[BZ #17956]

View File

@ -33,7 +33,7 @@ exec ${AWK} -v includedir="$includedir" '
BEGIN {
status = 0
exclude = "^" includedir \
"/(.*-.*-.*/|.*-.*/|)(asm[-/]|arch|linux/|selinux/|mach/|mach_debug/|device/|hurd/(((hurd|ioctl)_types|paths)\\.h|ioctls\\.defs|ihash\\.h)|cthreads\\.h|gd|nss3/|nspr/|c\\+\\+/|sys/(capability|sdt(|-config))\\.h|libaudit\\.h)"
"/(.*-.*-.*/|.*-.*/|)(asm[-/]|arch|linux/|selinux/|mach/|mach_debug/|device/|hurd/(((hurd|ioctl)_types|paths)\\.h|ioctls\\.defs|ihash\\.h)|cthreads\\.h|gd|nss3/|nspr4?/|c\\+\\+/|sys/(capability|sdt(|-config))\\.h|libaudit\\.h)"
}
/^[^ ]/ && $1 ~ /.*:/ { obj = $1 }
{