On Saturday 19 July 2008 19:51:15 Jonas Karlsson wrote:
> On 17/07/2008, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > Author: mwh
> > Date: 2008-07-16 18:41:52 -0700 (Wed, 16 Jul 2008)
> > New Revision: 3504
> >
> > Modified:
> >    trunk/Compile/bin/RecipeLint
> > Log:
> > Complain about versionless "GPL" in License field.
> >
> > Modified: trunk/Compile/bin/RecipeLint
> > ===================================================================
> > --- trunk/Compile/bin/RecipeLint    2008-07-17 01:25:26 UTC (rev 3503)
> > +++ trunk/Compile/bin/RecipeLint    2008-07-17 01:41:52 UTC (rev 3504)
> > @@ -801,9 +801,15 @@
> >        [ ! "$part_of" ] && ERROR "No $depfile file."
> >     fi
> >     [ "$part_of" ] && Quiet popd
> > -   [ -f Resources/Description ] || {
> > +   if [ -f Resources/Description ]
> > +   then
> > +      if grep -e '^\[License\] \(GNU \)\?\(GPL\|General Public
> > Licen[cs]e\)$' Resources/Description
>
> perhaps it would be better to use case insensitive matching, as people
> might not have capital letters everywhere and the string is unique
> enough anyway.
That seems like a good idea. Done.

Are there any others that need the same treatment? I can't think of any where 
it's actually important.
-Michael

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
gobolinux-devel mailing list
gobolinux-devel@lists.gobolinux.org
http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel

Reply via email to