From: vapier Date: Wed, 7 Jan 2009 05:16:03 +0000 (-0000) Subject: Support intended KEYWORDS X-Git-Tag: gentoolkit-0.2.4.3^2~25 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c9fa8701e65f5621b0ebca03cb856292df016312;p=gentoolkit.git Support intended KEYWORDS svn path=/; revision=531 --- diff --git a/trunk/src/ekeyword/ChangeLog b/trunk/src/ekeyword/ChangeLog index d0fa818..160a964 100644 --- a/trunk/src/ekeyword/ChangeLog +++ b/trunk/src/ekeyword/ChangeLog @@ -1,3 +1,6 @@ +07 Jan 2009 Mike Frysinger + * Support intended KEYWORDS + 27 Oct 2005 Aron Griffis * Fix handling of comments * Add support for bare ~ as a synonym for ~all diff --git a/trunk/src/ekeyword/ekeyword b/trunk/src/ekeyword/ekeyword index e75ce93..14cc0dc 100755 --- a/trunk/src/ekeyword/ekeyword +++ b/trunk/src/ekeyword/ekeyword @@ -40,7 +40,7 @@ for my $f (@ARGV) { select O; while () { - /^KEYWORDS/ or print, next; + /^\s*KEYWORDS=/ or print, next; # extract the quoted section from KEYWORDS (my $quoted = $_) =~ s/^.*?["'](.*?)["'].*/$1/s;