[gobolinux-devel] [gobolinux-commits] r3504 - trunk/Compile/bin
Jonas Karlsson
jonka750 at student.liu.se
Sat Jul 19 19:51:15 NZST 2008
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.
--
/Jonas
More information about the gobolinux-devel
mailing list