summaryrefslogtreecommitdiff
path: root/trunk/src/qpkg
diff options
context:
space:
mode:
authorgenone <genone@gentoo.org>2004-04-22 02:20:31 +0000
committergenone <genone@gentoo.org>2004-04-22 02:20:31 +0000
commit355da3f117b54e226573b0bcc9864298cbd6e7cc (patch)
treeb50f6f0e732884cc18a8dc3a6ca8b15bae5aa64c /trunk/src/qpkg
parent30ca18c1f518668d9e50b29172518a18418edd52 (diff)
downloadgentoolkit-355da3f117b54e226573b0bcc9864298cbd6e7cc.tar.gz
little regexp fix, #47451
svn path=/; revision=107
Diffstat (limited to 'trunk/src/qpkg')
-rw-r--r--trunk/src/qpkg/qpkg4
1 files changed, 2 insertions, 2 deletions
diff --git a/trunk/src/qpkg/qpkg b/trunk/src/qpkg/qpkg
index 9fbb4f9..e0fbdb8 100644
--- a/trunk/src/qpkg/qpkg
+++ b/trunk/src/qpkg/qpkg
@@ -301,7 +301,7 @@ if [ "${ffind}" ]; then
# package/CONTENTS containing <arg>
if [ "${fpat}" ]; then
dirs=`ls /var/db/pkg/${group}/*/CONTENTS \
- | xargs grep -l "${arg}" \
+ | xargs grep -l "${arg} " \
| xargs --no-run-if-empty -n 1 dirname`
else
# if the user didnt specify a full path assume they
@@ -309,7 +309,7 @@ if [ "${ffind}" ]; then
[ "${arg:0:1}" != "/" ] && arg="${PWD}/${arg}"
dirs=`ls /var/db/pkg/${group}/*/CONTENTS \
- | xargs grep -Fl " ${arg}" \
+ | xargs grep -Fl " ${arg} " \
| xargs --no-run-if-empty -n 1 dirname`
fi
ipak=`(