1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-28 00:21:52 +03:00

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.
This commit is contained in:
David S. Miller
2012-04-05 23:40:28 -04:00
parent 993eb0541c
commit dcd2ae90d5
2 changed files with 4 additions and 1 deletions

View File

@ -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 }
{