summaryrefslogtreecommitdiff
path: root/pkglocate
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2001-02-16 14:00:00 +0000
committeragc <agc@pkgsrc.org>2001-02-16 14:00:00 +0000
commita41926ecac26c9109c3ad770532bc757c666829f (patch)
treee878030941ca7c452b75810aa306fcf6d6a2ded7 /pkglocate
parent07cd20b334bcce67d925d228b1dc798c007141f0 (diff)
downloadpkgsrc-a41926ecac26c9109c3ad770532bc757c666829f.tar.gz
Adapt to the new COMMENT style, which will mean that <category>/pkg
directories are empty, and may get pruned by "cvs [checkout|update] -P" - check for a category Makefile to work out whether a directory houses a category, or is some other part of the infrastructure.
Diffstat (limited to 'pkglocate')
-rwxr-xr-xpkglocate4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkglocate b/pkglocate
index f802abbf8a7..4c4d883a5fa 100755
--- a/pkglocate
+++ b/pkglocate
@@ -1,6 +1,6 @@
#! /bin/sh
#
-# $NetBSD: pkglocate,v 1.3 2001/02/13 08:18:44 agc Exp $
+# $NetBSD: pkglocate,v 1.4 2001/02/16 14:00:00 agc Exp $
#
#-
# Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -78,7 +78,7 @@ if [ $# -lt 1 ]; then
fi
for d in *; do
- if [ ! -d $d/pkg ]; then
+ if [ ! -f $d/Makefile ]; then
# not a valid directory
continue
fi