+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
$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";