From fe73cf7b6545199a4f863e13c93e1f50452a00c6 Mon Sep 17 00:00:00 2001 From: agc Date: Fri, 16 Feb 2001 14:00:00 +0000 Subject: Adapt to the new COMMENT style, which will mean that /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. --- pkglocate | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkglocate') 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 -- cgit v1.2.3