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

Message ID 20171004164413.7709740273492@oldenburg.str.redhat.com
State New
Headers show
Series
  • [COMMITTED] crypt: Adjust check-local-headers.sh for nspr4 include directory [BZ #17956]
Related show

Commit Message

Florian Weimer Oct. 4, 2017, 4:44 p.m.
2017-10-04  Florian Weimer  <fweimer@redhat.com>

	* scripts/check-local-headers.sh: Ignore nspr4 header file
	directory in addition to nspr.

Patch

diff --git a/scripts/check-local-headers.sh b/scripts/check-local-headers.sh
index 4692361686..0cde6e8e92 100755
--- a/scripts/check-local-headers.sh
+++ b/scripts/check-local-headers.sh
@@ -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 }
 {