summaryrefslogtreecommitdiff
path: root/trunk/src/ekeyword
diff options
context:
space:
mode:
authoragriffis <agriffis@gentoo.org>2004-11-09 14:47:14 +0000
committeragriffis <agriffis@gentoo.org>2004-11-09 14:47:14 +0000
commit35e482445f7979d45f3c86e151f0b095eb2c07ea (patch)
treef346b61dc19646fa3caf4d2f2a2d491baeb5d1a1 /trunk/src/ekeyword
parent6ef917ef2259b269992265f37adc56217256db16 (diff)
downloadgentoolkit-35e482445f7979d45f3c86e151f0b095eb2c07ea.tar.gz
Fix mismatching of ppc vs. ppc-macos #69683
svn path=/; revision=169
Diffstat (limited to 'trunk/src/ekeyword')
-rw-r--r--trunk/src/ekeyword/ChangeLog3
-rw-r--r--trunk/src/ekeyword/ekeyword2
2 files changed, 4 insertions, 1 deletions
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 <agriffis@gentoo.org>
+ * Fix mismatching of ppc vs. ppc-macos #69683
+
15 Sep 2004 Aron Griffis <agriffis@gentoo.org>
* 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";