From: agriffis Date: Tue, 9 Nov 2004 14:47:14 +0000 (-0000) Subject: Fix mismatching of ppc vs. ppc-macos #69683 X-Git-Tag: gentoolkit-0.2.4.3~333 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=35e482445f7979d45f3c86e151f0b095eb2c07ea;p=gentoolkit.git Fix mismatching of ppc vs. ppc-macos #69683 svn path=/; revision=169 --- diff --git a/trunk/src/ekeyword/ChangeLog b/trunk/src/ekeyword/ChangeLog index 6af10dd..48726d1 100644 --- a/trunk/src/ekeyword/ChangeLog +++ b/trunk/src/ekeyword/ChangeLog @@ -1,3 +1,6 @@ +09 Nov 2004 Aron Griffis + * Fix mismatching of ppc vs. ppc-macos #69683 + 15 Sep 2004 Aron Griffis * Update for GLEP 22 keywords * Change copyright line for Gentoo Foundation diff --git a/trunk/src/ekeyword/ekeyword b/trunk/src/ekeyword/ekeyword index dc95294..e02a6e8 100644 --- a/trunk/src/ekeyword/ekeyword +++ b/trunk/src/ekeyword/ekeyword @@ -72,7 +72,7 @@ for my $f (@ARGV) { $quoted =~ s/(^|\s)[-~]?(?=\w)/$1$leader/g; } else { # modify or add keyword - unless ($quoted =~ s/[-~]?\Q$arch\E\b/$leader$arch/) { + unless ($quoted =~ s/[-~]?\Q$arch\E(\s|$)/$leader$arch$1/) { # modification failed, need to add if ($arch eq 'STAR') { $quoted = "$leader$arch $quoted";