summaryrefslogtreecommitdiff
path: root/trunk/src/qpkg
diff options
context:
space:
mode:
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=`(