Fix keywording if the KEYWORDS line starts with whitespace, thanks to Markus Meier...
authoridl0r <idl0r@gentoo.org>
Fri, 15 May 2009 19:48:35 +0000 (19:48 -0000)
committeridl0r <idl0r@gentoo.org>
Fri, 15 May 2009 19:48:35 +0000 (19:48 -0000)
svn path=/trunk/gentoolkit-dev/; revision=639

src/ekeyword/ekeyword

index e5643c83420faf914cf6ece8eab4a61028a616ae..e74a8671b6c35bef6c571af711a982e1527361f8 100755 (executable)
@@ -47,7 +47,7 @@ for my $f (@ARGV) {
                if (/^\s*KEYWORDS=/) {
 
                        # extract the quoted section from KEYWORDS
-                       while (not /^KEYWORDS=["'].*?["']/) {
+                       while (not /^\s*KEYWORDS=["'].*?["']/) {
                                chomp;
                                my $next = <I>;
                                $_ = join " ", $_, $next;