aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoridl0r <idl0r@gentoo.org>2009-05-15 19:48:35 +0000
committeridl0r <idl0r@gentoo.org>2009-05-15 19:48:35 +0000
commit2d120dd6ec96c5487d91e80dafbe9863757c20a1 (patch)
tree0932b7531d5ca7bd0bb6c48bd06f0cb2a5cf7af6
parentFix regex, bug 269557, thanks to Samuli Suominen <ssuominen@gentoo.org>. (diff)
downloadgentoolkit-2d120dd6ec96c5487d91e80dafbe9863757c20a1.tar.gz
gentoolkit-2d120dd6ec96c5487d91e80dafbe9863757c20a1.tar.bz2
gentoolkit-2d120dd6ec96c5487d91e80dafbe9863757c20a1.zip
Fix keywording if the KEYWORDS line starts with whitespace, thanks to Markus Meier <maekke@gentoo.org>.
svn path=/trunk/gentoolkit-dev/; revision=639
-rwxr-xr-xsrc/ekeyword/ekeyword2
1 files changed, 1 insertions, 1 deletions
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 = <I>;
$_ = join " ", $_, $next;