From b239d597cbb1306117aa1e886aebd2d385ee733e Mon Sep 17 00:00:00 2001 From: agc Date: Wed, 7 Nov 2001 22:11:13 +0000 Subject: Apply mods from PR 14495, from Ryo HAYASAKA (ryoh@jaist.ac.jp), so that pkglocate now works with description and PLIST files in the package's main directory. --- pkglocate | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkglocate b/pkglocate index 24f1b2f6ada..af89853070f 100755 --- a/pkglocate +++ b/pkglocate @@ -1,6 +1,6 @@ #! /bin/sh # -# $NetBSD: pkglocate,v 1.6 2001/04/03 09:28:32 agc Exp $ +# $NetBSD: pkglocate,v 1.7 2001/11/07 22:11:13 agc Exp $ # #- # Copyright (c) 2000 The NetBSD Foundation, Inc. @@ -58,11 +58,11 @@ esac approx="" igncase="" verbose=no -files='*/pkg/DESCR' +files='*/DESCR' while [ $# -gt 1 ]; do case $1 in -i) igncase="-i" ;; - -f) files='*/pkg/PLIST*' ;; + -f) files='*/PLIST*' ;; -p) if [ "$grepname" = "agrep" ]; then approx="-p"; fi ;; -v) verbose=yes ;; *) break ;; -- cgit v1.2.3