spdiff: Ignore copyright differences

This commit is contained in:
Wilson Snyder 2011-01-01 18:20:30 -05:00
parent 1e68086355
commit 6574a126ef
1 changed files with 2 additions and 1 deletions

View File

@ -1,7 +1,7 @@
#!/usr/bin/perl -w
######################################################################
#
# Copyright 2010-2010 by Wilson Snyder. This package is free software; you
# Copyright 2010-2011 by Wilson Snyder. This package is free software; you
# can redistribute it and/or modify it under the terms of either the GNU
# Lesser General Public License Version 3 or the Perl Artistic License
# Version 2.0.
@ -81,6 +81,7 @@ sub prep {
$line =~ s/SP_NOTICE.*// if $sp;
$line =~ s/vl_fatal.*// if !$sp;
$line =~ s/VL_PRINT.*// if !$sp;
$line =~ s/Copyright \d+-\d+/Copyright #-#/g;
push @wf, $line;