crypt: Adjust check-local-headers.sh for nspr4 include directory [BZ #17956]
authorFlorian Weimer <fweimer@redhat.com>
Wed, 4 Oct 2017 13:49:06 +0000 (15:49 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Wed, 4 Oct 2017 13:49:06 +0000 (15:49 +0200)
ChangeLog
scripts/check-local-headers.sh

index f782b14..31f402a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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]
index 4692361..0cde6e8 100755 (executable)
@@ -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 }
 {