diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | scripts/check-wrapper-headers.py | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index ee9eebb773..c657d7918b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2019-03-07 Florian Weimer <fweimer@redhat.com> + + * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran + header check. + 2019-03-07 Martin Liska <mliska@suse.cz> * math/Makefile: Change location where math-vector-fortran.h is diff --git a/scripts/check-wrapper-headers.py b/scripts/check-wrapper-headers.py index dc9fd86063..bae99c14c7 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) |