summaryrefslogtreecommitdiff
path: root/scripts/hasCopyright.pl
diff options
context:
space:
mode:
authorhjk <qthjk@ovi.com>2012-10-02 09:12:39 +0200
committerEike Ziller <eike.ziller@digia.com>2012-10-05 17:12:56 +0200
commit386ca7c8dd71047fb70fdcfeb78042d4eda30f17 (patch)
tree200b067711a64d369ba699032d42952a997790d9 /scripts/hasCopyright.pl
parent0fc9e7c87735d5cc4ecadbe6d4656f620e2259cd (diff)
downloadqt-creator-386ca7c8dd71047fb70fdcfeb78042d4eda30f17.tar.gz
Adjust license headers
Change-Id: Ice592c6de9951ee3b2c4cb52ed0bb3b6770e0825 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Diffstat (limited to 'scripts/hasCopyright.pl')
-rw-r--r--[-rwxr-xr-x]scripts/hasCopyright.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/hasCopyright.pl b/scripts/hasCopyright.pl
index c80135a791..255d900c32 100755..100644
--- a/scripts/hasCopyright.pl
+++ b/scripts/hasCopyright.pl
@@ -66,7 +66,7 @@ while (1) {
$hasCurrent = 1 if $_ =~ /\(c\).*\s2012/i;
$hasContact = 1 if $_ =~ /Contact: http:\/\/www.qt-project.org\/legal/;
- $hasCommercial = 1 if $_ =~ /Commercial License Usage/;
+ $hasCommercial = 1 if $_ =~ /Commercial (License )?Usage/;
$hasDigia = 1 if $_ =~ /Digia Plc/;
$hasLGPL = 1 if $_ =~ /GNU Lesser General Public License Usage/;
$hasGPL = 1 if $_ =~ /GNU General Public License Usage/;
@@ -95,7 +95,7 @@ while (1) {
next;
}
- unless ($hasContact) {
+ if (!$hasContact && $file !~ /\.pluginspec\.in$/) {
print "$file\tERROR\tWrong contact\n";
next;
}