diff options
author | vapier <vapier@gentoo.org> | 2009-01-07 05:16:03 +0000 |
---|---|---|
committer | vapier <vapier@gentoo.org> | 2009-01-07 05:16:03 +0000 |
commit | c9fa8701e65f5621b0ebca03cb856292df016312 (patch) | |
tree | 4a96f822eeca366e468724ec835f0065c983bfd2 | |
parent | set svn:executable (diff) | |
download | gentoolkit-c9fa8701e65f5621b0ebca03cb856292df016312.tar.gz gentoolkit-c9fa8701e65f5621b0ebca03cb856292df016312.tar.bz2 gentoolkit-c9fa8701e65f5621b0ebca03cb856292df016312.zip |
Support intended KEYWORDS
svn path=/; revision=531
-rw-r--r-- | trunk/src/ekeyword/ChangeLog | 3 | ||||
-rwxr-xr-x | trunk/src/ekeyword/ekeyword | 2 |
2 files changed, 4 insertions, 1 deletions
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 <vapier@gentoo.org> + * Support intended KEYWORDS + 27 Oct 2005 Aron Griffis <agriffis@gentoo.org> * 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 (<I>) { - /^KEYWORDS/ or print, next; + /^\s*KEYWORDS=/ or print, next; # extract the quoted section from KEYWORDS (my $quoted = $_) =~ s/^.*?["'](.*?)["'].*/$1/s; |