diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2022-06-15 15:52:33 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@qt.io> | 2022-06-17 09:37:10 +0000 |
commit | 4a56c03f431739c7c0a1a7abb55cf60a483e577c (patch) | |
tree | 40e3ca89730fd48d66cc1045b43ff0df7c1fd7ae /scripts | |
parent | 2e0916ac887abfc22a74bb57e4431b1a842e41c4 (diff) | |
download | qtqa-4a56c03f431739c7c0a1a7abb55cf60a483e577c.tar.gz |
Fix use of @ignore_headers list from sync.profile
Its entries only give the basename of the header, without any path, so
we need to check the basename of the files read from stdin against
its entries, not the whole of the filename read.
Change-Id: I2fc856b4a36dc6fe339bdf6ece282a1ea2f7a567
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/api-review/sync-filter-api-headers | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/api-review/sync-filter-api-headers b/scripts/api-review/sync-filter-api-headers index 1311fbc..50b5493 100755 --- a/scripts/api-review/sync-filter-api-headers +++ b/scripts/api-review/sync-filter-api-headers @@ -83,7 +83,7 @@ my @allheaders = (); while (<STDIN>) { chomp; normalizePath(\$_); - next if $ignore_headers{$_} || $qpa_headers{$_}; + next if $ignore_headers{basename($_)} || $qpa_headers{$_}; push @allheaders, $_ if $_; } |