diff options
author | David S. Miller <davem@davemloft.net> | 2012-04-05 23:40:28 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-04-05 23:40:28 -0400 |
commit | dcd2ae90d5d5c9f9360def390f8ff413ee3dba57 (patch) | |
tree | aca09509b2b230856fec709b796a2675469e0019 /scripts/check-local-headers.sh | |
parent | 993eb0541cd32ce72f1f8d768b35857a678894eb (diff) | |
download | glibc-dcd2ae90d5d5c9f9360def390f8ff413ee3dba57.tar.gz glibc-dcd2ae90d5d5c9f9360def390f8ff413ee3dba57.tar.xz glibc-dcd2ae90d5d5c9f9360def390f8ff413ee3dba57.zip |
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.
Diffstat (limited to 'scripts/check-local-headers.sh')
-rwxr-xr-x | scripts/check-local-headers.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/check-local-headers.sh b/scripts/check-local-headers.sh index c7bc40bbce..08ed880c5d 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 } { |