diff options
author | agc <agc@pkgsrc.org> | 2001-11-07 22:11:13 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 2001-11-07 22:11:13 +0000 |
commit | b239d597cbb1306117aa1e886aebd2d385ee733e (patch) | |
tree | 64140aa93681306b310f927994dc59bdcdbc7be4 | |
parent | 48b05be9cd66966a05f869bca35010d9382360cb (diff) | |
download | pkgsrc-b239d597cbb1306117aa1e886aebd2d385ee733e.tar.gz |
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.
-rwxr-xr-x | pkglocate | 6 |
1 files 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 ;; |