[gobolinux-devel] [gobolinux-commits] r3504 - trunk/Compile/bin
Michael Homer
michael at gobolinux.org
Sat Jul 19 20:04:34 NZST 2008
On Saturday 19 July 2008 19:51:15 Jonas Karlsson wrote:
> On 17/07/2008, mwh at svn.gobolinux.org <mwh at svn.gobolinux.org> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://lists.gobolinux.org/pipermail/gobolinux-devel/attachments/20080719/e6c2f3f9/attachment.pgp
More information about the gobolinux-devel
mailing list