summaryrefslogtreecommitdiff
path: root/contrib/update-copyright.pl
diff options
context:
space:
mode:
authorAndres Noetzli <andres.noetzli@gmail.com>2019-05-01 10:39:13 -0700
committerAndres Noetzli <andres.noetzli@gmail.com>2019-05-01 10:39:13 -0700
commit0cc88cf09c59effc41a076d4d78ef2082f780509 (patch)
tree29499ec78572f954eb053083a32ac4bfca4aa530 /contrib/update-copyright.pl
parent689f1f89ccea1825a7b222e5af97f5133069ff74 (diff)
parent172e0bd41cbd410fb1e66bc32a9a9b8523bc40e2 (diff)
Diffstat (limited to 'contrib/update-copyright.pl')
-rwxr-xr-xcontrib/update-copyright.pl9
1 files changed, 5 insertions, 4 deletions
diff --git a/contrib/update-copyright.pl b/contrib/update-copyright.pl
index 26db51e25..148392aab 100755
--- a/contrib/update-copyright.pl
+++ b/contrib/update-copyright.pl
@@ -1,7 +1,7 @@
#!/usr/bin/perl -w
#
# update-copyright.pl
-# Copyright (c) 2009-2018 The CVC4 Project
+# Copyright (c) 2009-2019 The CVC4 Project
#
# usage: update-copyright [-m] [files/directories...]
# update-copyright [-h | --help]
@@ -35,18 +35,19 @@
my $excluded_directories = '^(CVS|generated)$';
my $excluded_paths = '^(';
+# note: first excluded path regexp must not start with a '|'
# different license
-$excluded_paths .= '|src/util/channel.h';
+$excluded_paths .= 'src/util/channel.h';
# minisat license
$excluded_paths .= '|src/prop/(bv)?minisat/core/.*';
$excluded_paths .= '|src/prop/(bv)?minisat/mtl/.*';
$excluded_paths .= '|src/prop/(bv)?minisat/simp/.*';
$excluded_paths .= '|src/prop/(bv)?minisat/utils/.*';
-$excluded_paths .= '$)';
+$excluded_paths .= ')$';
# Years of copyright for the template. E.g., the string
# "1985, 1987, 1992, 1997, 2008" or "2006-2009" or whatever.
-my $years = '2009-2018';
+my $years = '2009-2019';
my $standard_template = <<EOF;
** This file is part of the CVC4 project.
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback