From: genone Date: Thu, 22 Apr 2004 02:20:31 +0000 (-0000) Subject: little regexp fix, #47451 X-Git-Tag: gentoolkit-0.2.4.3~395 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=355da3f117b54e226573b0bcc9864298cbd6e7cc;p=gentoolkit.git little regexp fix, #47451 svn path=/; revision=107 --- 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=`(