From 355da3f117b54e226573b0bcc9864298cbd6e7cc Mon Sep 17 00:00:00 2001 From: genone Date: Thu, 22 Apr 2004 02:20:31 +0000 Subject: [PATCH] little regexp fix, #47451 svn path=/; revision=107 --- trunk/src/qpkg/qpkg | 4 ++-- 1 file 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 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=`( -- 2.26.2