diff options
author | Morgan Deters <mdeters@gmail.com> | 2010-04-01 07:19:41 +0000 |
---|---|---|
committer | Morgan Deters <mdeters@gmail.com> | 2010-04-01 07:19:41 +0000 |
commit | a86b330c8b1ebfa7ec9a284ceb7cba69ff6d09b9 (patch) | |
tree | 792b675b3d11b546450c5b785b2dac40afd742d8 /contrib/update-copyright.pl | |
parent | c49e8a66f30413adc802c7200ec02c68e33feae6 (diff) |
reran update-copyright.pl to get new contributors and add new header comments to files without them
Diffstat (limited to 'contrib/update-copyright.pl')
-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 8c73d514c..f6c066a0a 100755 --- a/contrib/update-copyright.pl +++ b/contrib/update-copyright.pl @@ -62,7 +62,7 @@ $dir =~ s,/[^/]+/*$,,; my @searchdirs = (); if($#ARGV == -1) { - (chdir($dir."/..") && -f "src/include/cvc4_config.h") || die "can't find top-level source directory for CVC4"; + (chdir($dir."/..") && -f "src/include/cvc4_public.h") || die "can't find top-level source directory for CVC4"; my $pwd = `pwd`; chomp $pwd; print <<EOF; @@ -102,10 +102,10 @@ sub recurse { my $is_directory = S_ISDIR($mode); if($is_directory) { next if $file =~ /$excluded_directories/; - next if $srcdir.'/'.$file =~ /$excluded_paths/; recurse($srcdir.'/'.$file); } else { next if !($file =~ /\.(c|cc|cpp|C|h|hh|hpp|H|y|yy|ypp|Y|l|ll|lpp|L|g)$/); + next if ($srcdir.'/'.$file) =~ /$excluded_paths/; print "$srcdir/$file..."; my $infile = $srcdir.'/'.$file; my $outfile = $srcdir.'/#'.$file.'.tmp'; |