diff options
author | hjk <qthjk@ovi.com> | 2012-10-02 09:12:39 +0200 |
---|---|---|
committer | Eike Ziller <eike.ziller@digia.com> | 2012-10-05 17:12:56 +0200 |
commit | 386ca7c8dd71047fb70fdcfeb78042d4eda30f17 (patch) | |
tree | 200b067711a64d369ba699032d42952a997790d9 /scripts/hasCopyright.pl | |
parent | 0fc9e7c87735d5cc4ecadbe6d4656f620e2259cd (diff) | |
download | qt-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.pl | 4 |
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; } |