diff options
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/update-copyright.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/update-copyright.pl b/contrib/update-copyright.pl index ba0b4313d..99472ff94 100755 --- a/contrib/update-copyright.pl +++ b/contrib/update-copyright.pl @@ -139,7 +139,7 @@ sub handleFile { my $authors = <$AUTHOR>; chomp $authors; close $AUTHOR; $_ = <$IN>; - if(m,^(%{)?/\*(\*| )\*\*\*,) { + if(m,^(%\{)?/\*(\*| )\*\*\*,) { print "updating\n"; if($file =~ /\.(y|yy|ypp|Y)$/) { print $OUT "%{/******************* */\n"; @@ -201,7 +201,7 @@ $line"; if($file =~ /\.(y|yy|ypp|Y)$/) { while(my $line = <$IN>) { chomp $line; - if($line =~ '\s*%{(.*)') { + if($line =~ '\s*%\{(.*)') { print $OUT "$1\n"; last; } |