From: agriffis Date: Wed, 31 Mar 2004 21:19:59 +0000 (-0000) Subject: Fix bug 28426 with patch from Mr_Bones_ to keep ekeyword from confusing ppc and ppc64 X-Git-Tag: gentoolkit-0.2.4.3~403 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=86eedc068569a693000cdd31d76b3429658a7d30;p=gentoolkit.git Fix bug 28426 with patch from Mr_Bones_ to keep ekeyword from confusing ppc and ppc64 svn path=/; revision=99 --- diff --git a/trunk/src/ekeyword/ChangeLog b/trunk/src/ekeyword/ChangeLog index 20942f2..b3c4cff 100644 --- a/trunk/src/ekeyword/ChangeLog +++ b/trunk/src/ekeyword/ChangeLog @@ -1,3 +1,7 @@ +31 Mar 2004 Aron Griffis + * Fix bug 28426 with patch from Mr_Bones_ to keep ekeyword from confusing + ppc and ppc64 + 2004-01-12 Aron Griffis * Allow multiple keywords diff --git a/trunk/src/ekeyword/ekeyword b/trunk/src/ekeyword/ekeyword index 420c979..be9cd64 100644 --- a/trunk/src/ekeyword/ekeyword +++ b/trunk/src/ekeyword/ekeyword @@ -38,7 +38,7 @@ for my $f (@ARGV) { /^KEYWORDS/ or print, next; for my $k (@kw) { (my $arch = $k) =~ s/^[-~]//; - s/[-~]?$arch/$k/ || s/(.*?['"].*?)\s*(?=['"])/$1 $k/; + s/[-~]?$arch\b/$k/ || s/(.*?['"].*?)\s*(?=['"])/$1 $k/; } print $_, or die "Can't write $f.new: $!\n"; }