From dcd2ae90d5d5c9f9360def390f8ff413ee3dba57 Mon Sep 17 00:00:00 2001 From: "David S. Miller" Date: Thu, 5 Apr 2012 23:40:28 -0400 Subject: Fix check-local-headers.sh on multiarch systems. * scripts/check-local-headers.sh: Accept a host triplet in the path matched by the exclude regexp. --- scripts/check-local-headers.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/check-local-headers.sh b/scripts/check-local-headers.sh index c7bc40b..08ed880 100755 --- a/scripts/check-local-headers.sh +++ b/scripts/check-local-headers.sh @@ -28,7 +28,7 @@ exec ${AWK} -v includedir="$includedir" ' BEGIN { status = 0 exclude = "^" includedir \ - "/(asm[-/]|linux/|selinux/|gd|nss3/|sys/capability\\.h|libaudit\\.h)" + "/(.*-.*-.*/|)(asm[-/]|linux/|selinux/|gd|nss3/|sys/capability\\.h|libaudit\\.h)" } /^[^ ]/ && $1 ~ /.*:/ { obj = $1 } { -- cgit v1.1