Update CDBS snippet copyright-check.mk: Compact simple licenses (those without ' or later').
Jonas Smedegaard
15 years ago
62 | 62 | 'foreach $$file (@files) {'\ |
63 | 63 | ' $$file->{license} =~ s/\s*\(with incorrect FSF address\)//;'\ |
64 | 64 | ' $$file->{license} =~ s/\s+\(v([^)]+) or later\)/-$$1+/;'\ |
65 | ' $$file->{license} =~ s/\s+\(v([^)]+)\)/-$$1/;'\ | |
65 | 66 | ' $$file->{license} =~ s/\s*(\*No copyright\*)\s*// and $$file->{copyright} = $$1;'\ |
66 | 67 | ' $$file->{license} =~ s/^\s*(GENERATED FILE)/UNKNOWN ($$1)/;'\ |
67 | 68 | ' $$file->{license} =~ s/\s+(GENERATED FILE)/ ($$1)/;'\ |