summaryrefslogtreecommitdiff
path: root/trunk/src
diff options
context:
space:
mode:
authoragriffis <agriffis@gentoo.org>2004-03-31 21:19:59 +0000
committeragriffis <agriffis@gentoo.org>2004-03-31 21:19:59 +0000
commit86eedc068569a693000cdd31d76b3429658a7d30 (patch)
tree6e42d9be72f8b7e41e42450a2269123e68a57a52 /trunk/src
parent2f1a37c718a8d5a9c65dad661aba411ac1f6bda4 (diff)
downloadgentoolkit-86eedc068569a693000cdd31d76b3429658a7d30.tar.gz
Fix bug 28426 with patch from Mr_Bones_ to keep ekeyword from confusing ppc and ppc64
svn path=/; revision=99
Diffstat (limited to 'trunk/src')
-rw-r--r--trunk/src/ekeyword/ChangeLog4
-rw-r--r--trunk/src/ekeyword/ekeyword2
2 files changed, 5 insertions, 1 deletions
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 <agriffis@gentoo.org>
+ * Fix bug 28426 with patch from Mr_Bones_ to keep ekeyword from confusing
+ ppc and ppc64
+
2004-01-12 Aron Griffis <agriffis@gentoo.org>
* 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 $_, <I> or die "Can't write $f.new: $!\n";
}