From 32fc6e39fdaf865d4a85e32ba212d182434a01a8 Mon Sep 17 00:00:00 2001 From: genone Date: Fri, 6 Feb 2004 21:55:29 +0000 Subject: [PATCH] fixing regexp for qpkg -f a bit svn path=/; revision=76 --- 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 31b2e7f..06f1c32 100644 --- a/trunk/src/qpkg/qpkg +++ b/trunk/src/qpkg/qpkg @@ -293,7 +293,7 @@ if [ "${ffind}" ]; then # package/CONTENTS containing if [ "${fpat}" ]; then dirs=`ls /var/db/pkg/${group}/*/CONTENTS \ - | xargs grep -l "${arg}" \ + | xargs grep -Fl "${arg}" \ | xargs --no-run-if-empty -n 1 dirname` else # if the user didnt specify a full path assume they @@ -301,7 +301,7 @@ if [ "${ffind}" ]; then [ "${arg:0:1}" != "/" ] && arg="${PWD}/${arg}" dirs=`ls /var/db/pkg/${group}/*/CONTENTS \ - | xargs grep -l " ${arg}\( .*\)*$" \ + | xargs grep -Fl " ${arg}" \ | xargs --no-run-if-empty -n 1 dirname` fi ipak=`( -- 2.26.2