[PATCH] licensecheck: Fix --check and --ignore options

Francesco Poli (wintermute) invernomuto at paranoici.org
Sat Dec 1 22:23:53 UTC 2012


Hi,
while testing licensecheck from the current tip of the master branch
of the public devscripts git repository, I noticed that the --check
and --ignore options were not working at all.

I think I found where the bug is: the GetOptions() function writes
values into $OPT{'check'}, while $OPT{'check_regex'} was used.
The same holds for the --ignore option.

I am sending a patch that seems to fix the bug (well, at least,
It Works For Me™).

I hereby release this patch under the same license as licensecheck,
that is to say under the terms of the GNU GPL v2 or later.

Please apply my patch to the public git repository, as long as you
agree with the fix.

Thanks for your time!


-- 
 http://www.inventati.org/frx/frx-gpg-key-transition-2010.txt
 New GnuPG key, see the transition document!
..................................................... Francesco Poli .
 GnuPG key fpr == CA01 1147 9CD2 EFDF FB82  3925 3E1C 27E1 1F69 BFFE




More information about the devscripts-devel mailing list