diff options
author | genone <genone@gentoo.org> | 2004-02-06 21:55:29 +0000 |
---|---|---|
committer | genone <genone@gentoo.org> | 2004-02-06 21:55:29 +0000 |
commit | 32fc6e39fdaf865d4a85e32ba212d182434a01a8 (patch) | |
tree | 2ffd2907d270740945acee9a393bb2c94f9900b7 /trunk/src/qpkg | |
parent | fixes (diff) | |
download | gentoolkit-32fc6e39fdaf865d4a85e32ba212d182434a01a8.tar.gz gentoolkit-32fc6e39fdaf865d4a85e32ba212d182434a01a8.tar.bz2 gentoolkit-32fc6e39fdaf865d4a85e32ba212d182434a01a8.zip |
fixing regexp for qpkg -f a bit
svn path=/; revision=76
Diffstat (limited to 'trunk/src/qpkg')
-rw-r--r-- | trunk/src/qpkg/qpkg | 4 |
1 files 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 <arg> 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=`( |