summaryrefslogtreecommitdiff
path: root/scripts/hasCopyright.pl
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@theqtcompany.com>2015-01-14 18:07:15 +0100
committerEike Ziller <eike.ziller@theqtcompany.com>2015-01-16 12:37:56 +0100
commit3c85058694ee2e41658d17f524fb48f0b187d2fe (patch)
tree47c19e0b01d2e3bf8ca25a986ed0242c651dfff5 /scripts/hasCopyright.pl
parentd83fb4d63c9fd92e0e6f429cbd56fa244bddc093 (diff)
downloadqt-creator-3c85058694ee2e41658d17f524fb48f0b187d2fe.tar.gz
Update License
Change-Id: I711d5fb475ef814a1dc9d2822740e827f3f67125 Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
Diffstat (limited to 'scripts/hasCopyright.pl')
-rw-r--r--scripts/hasCopyright.pl10
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/hasCopyright.pl b/scripts/hasCopyright.pl
index efcfa5ffdb..1ecb907b61 100644
--- a/scripts/hasCopyright.pl
+++ b/scripts/hasCopyright.pl
@@ -53,7 +53,7 @@ while (1) {
my $hasCommercial = 0;
my $hasLGPL = 0;
my $hasGPL = 0;
- my $hasDigia = 0;
+ my $hasCompany = 0;
my $linecount = 0;
if ($file !~ /\.png$/) {
@@ -64,11 +64,11 @@ while (1) {
last if ($linecount > 50);
$hasCopyright = 1 if $_ =~ /Copyright/i;
- $hasCurrent = 1 if $_ =~ /\(c\).*\s2014/i;
+ $hasCurrent = 1 if $_ =~ /\(c\).*\s2015/i;
$hasContact = 1 if $_ =~ /Contact: http:\/\/www.qt-project.org\/legal/;
$hasCommercial = 1 if $_ =~ /Commercial (License )?Usage/;
- $hasDigia = 1 if $_ =~ /Digia Plc/;
+ $hasCompany = 1 if $_ =~ /The Qt Company Ltd/;
$hasLGPL = 1 if $_ =~ /GNU Lesser General Public License Usage/;
$hasGPL = 1 if $_ =~ /GNU General Public License Usage/;
}
@@ -91,8 +91,8 @@ while (1) {
next;
}
- unless ($hasDigia) {
- print "$file\tERROR\tNo digia\n";
+ unless ($hasCompany) {
+ print "$file\tERROR\tNo The Qt Company\n";
next;
}