diff options
author | Felix Barz <barz.felix@web.de> | 2019-07-06 20:28:48 +0200 |
---|---|---|
committer | Felix Barz <barz.felix@web.de> | 2019-07-11 09:50:18 +0200 |
commit | 36a15a87de2b954b1cef24acd4a8cd4ef5aef6cd (patch) | |
tree | a0cfd22f3b986f220fea7518d35dde7e7b972a5b /bin | |
parent | ffaf3cfc21586febc2bba93c87b130278d07e433 (diff) | |
download | qtbase-36a15a87de2b954b1cef24acd4a8cd4ef5aef6cd.tar.gz |
syncqt: Fix module header install target creation
Modified a regular expression in syncqt.pl so that the special case of
a class beginning with another class does not lead to the exclusion of
the first one. This affects the generation of the install target for
generated class headers of Qt modules. Now the expression verifies the
class names are not identical.
Fixes: QTBUG-71323
Change-Id: I210b4d4c3ed64cf189594b95b10aa0e8495a19d2
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/syncqt.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/syncqt.pl b/bin/syncqt.pl index 7793811c9f..8226edfb76 100755 --- a/bin/syncqt.pl +++ b/bin/syncqt.pl @@ -1092,7 +1092,7 @@ foreach my $lib (@modules_to_sync) { # } my $class_header = "$class "; $pri_install_gfiles .= $class_header - unless ($shadow || $pri_install_gfiles =~ $class_header); + unless ($shadow || $pri_install_gfiles =~ m/\b$class_header/); $injection .= ":$class"; } |