summaryrefslogtreecommitdiff
path: root/contrib/update-copyright.pl
diff options
context:
space:
mode:
authorAina Niemetz <aina.niemetz@gmail.com>2019-03-25 12:31:59 -0700
committerAina Niemetz <aina.niemetz@gmail.com>2019-03-25 12:31:59 -0700
commita3dccac861e05e91d139a8c6da3b1605a068ff00 (patch)
tree1b022349a820dd728ad71ae372dc90ee9a28e109 /contrib/update-copyright.pl
parentbb5553d4d19cd3373c99062e508c8cef8686e00d (diff)
update-copyright: Fix matching of excluded paths.
Diffstat (limited to 'contrib/update-copyright.pl')
-rwxr-xr-xcontrib/update-copyright.pl5
1 files changed, 3 insertions, 2 deletions
diff --git a/contrib/update-copyright.pl b/contrib/update-copyright.pl
index 26db51e25..3412905af 100755
--- a/contrib/update-copyright.pl
+++ b/contrib/update-copyright.pl
@@ -35,14 +35,15 @@
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.
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback