diff --git a/src/tools/copyright.pl b/src/tools/copyright.pl index 524f285b6a9b9532b23aeac237bdf9185f9a25f8..932f0a2854fc60cb7f59c5a5cd70a12917ceb2b5 100755 --- a/src/tools/copyright.pl +++ b/src/tools/copyright.pl @@ -46,7 +46,7 @@ sub wanted { # We only care about lines with a copyright notice. - next unless $line =~ m/$cc . *$pgdg /; + next unless $line =~ m/$cc.*$pgdg/; # We stop when we've done one substitution. This is both for # efficiency and, at least in the case of this program, for