From: idl0r Date: Fri, 15 May 2009 19:48:35 +0000 (-0000) Subject: Fix keywording if the KEYWORDS line starts with whitespace, thanks to Markus Meier... X-Git-Tag: gentoolkit-dev-0.2.6.12~3 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2d120dd6ec96c5487d91e80dafbe9863757c20a1;p=gentoolkit.git Fix keywording if the KEYWORDS line starts with whitespace, thanks to Markus Meier . svn path=/trunk/gentoolkit-dev/; revision=639 --- diff --git a/src/ekeyword/ekeyword b/src/ekeyword/ekeyword index e5643c8..e74a867 100755 --- a/src/ekeyword/ekeyword +++ b/src/ekeyword/ekeyword @@ -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 = ; $_ = join " ", $_, $next;