Codebase list sugar-artwork / 9dc4bd8
Update CDBS snippet copyright-check.mk: Compact simple licenses (those without ' or later'). Jonas Smedegaard 15 years ago
1 changed file(s) with 1 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
6262 'foreach $$file (@files) {'\
6363 ' $$file->{license} =~ s/\s*\(with incorrect FSF address\)//;'\
6464 ' $$file->{license} =~ s/\s+\(v([^)]+) or later\)/-$$1+/;'\
65 ' $$file->{license} =~ s/\s+\(v([^)]+)\)/-$$1/;'\
6566 ' $$file->{license} =~ s/\s*(\*No copyright\*)\s*// and $$file->{copyright} = $$1;'\
6667 ' $$file->{license} =~ s/^\s*(GENERATED FILE)/UNKNOWN ($$1)/;'\
6768 ' $$file->{license} =~ s/\s+(GENERATED FILE)/ ($$1)/;'\