diff options
author | Florian Weimer <fweimer@redhat.com> | 2019-03-07 17:28:13 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2019-03-07 17:28:13 +0100 |
commit | 27a2f2f34c9e77815c6367cf670e24cbac0db7c0 (patch) | |
tree | c1116c1da196d9eb1818a2f9eb377a73f5c2bdc4 /scripts | |
parent | ae514971341dcc08ec7f8622493a65e7eb1ef9d2 (diff) | |
download | glibc-27a2f2f34c9e77815c6367cf670e24cbac0db7c0.zip glibc-27a2f2f34c9e77815c6367cf670e24cbac0db7c0.tar.gz glibc-27a2f2f34c9e77815c6367cf670e24cbac0db7c0.tar.bz2 |
check-wrapper-headers test: Adjust Fortran include file directory
The check for "/finclude/" fails with the actual location of
Fortran headers because they are now stored in the "finclude"
subdirectory of the top-level include directory, so a relative path
does not contain a slash '/' before the "finclude" string.
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/check-wrapper-headers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/check-wrapper-headers.py b/scripts/check-wrapper-headers.py index dc9fd86..bae99c1 100644 --- a/scripts/check-wrapper-headers.py +++ b/scripts/check-wrapper-headers.py @@ -76,7 +76,7 @@ def check_headers(args): is_nonsysdep_header = os.access(header, os.R_OK) if is_nonsysdep_header: # Skip Fortran header files. - if '/finclude/' in header: + if header.startswith("finclude/"): continue include_path = os.path.join(args.root, INCLUDE, header) |