From 35e482445f7979d45f3c86e151f0b095eb2c07ea Mon Sep 17 00:00:00 2001 From: agriffis Date: Tue, 9 Nov 2004 14:47:14 +0000 Subject: [PATCH] Fix mismatching of ppc vs. ppc-macos #69683 svn path=/; revision=169 --- trunk/src/ekeyword/ChangeLog | 3 +++ trunk/src/ekeyword/ekeyword | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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"; -- 2.26.2