Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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.
  • Loading branch information...
commit a69e0151ae7c3a416fa171ab73d51d1cd828caf9 1 parent dc47c14
agc authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 pkglocate
View
6 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 ;;
Please sign in to comment.
Something went wrong with that request. Please try again.