Skip to content
Commit cc640250 authored by Dominique Dumont's avatar Dominique Dumont
Browse files

licensecheck: store only first copyright block

Some files put © info in comment and then the same info in a variable.
In this case licensecheck provides duplicated information.

Once we assume © information is specified in a single block, i.e. all
© stanza are grouped and not separated by more than 5 lines without
© information, the second block can be detected and discarded.

The number of lines between 2 blocks (5) is rather arbitrary and can be
changed if proven wrong.
parent 40500863
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment