summaryrefslogtreecommitdiff
path: root/pkglocate
diff options
context:
space:
mode:
authoragc <agc>2001-02-16 14:00:00 +0000
committeragc <agc>2001-02-16 14:00:00 +0000
commitcffe3064045fbb85273491377d5a2f34ff36538c (patch)
treee878030941ca7c452b75810aa306fcf6d6a2ded7 /pkglocate
parente6c09e0ffcafa1cd01223abf0f13852e7a875595 (diff)
downloadpkgsrc-cffe3064045fbb85273491377d5a2f34ff36538c.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