diff options
author | agc <agc> | 2001-02-16 14:00:00 +0000 |
---|---|---|
committer | agc <agc> | 2001-02-16 14:00:00 +0000 |
commit | fe73cf7b6545199a4f863e13c93e1f50452a00c6 (patch) | |
tree | e878030941ca7c452b75810aa306fcf6d6a2ded7 /pkglocate | |
parent | 298de9561f803004ff5661cafc87aa80dda5015e (diff) | |
download | pkgsrc-fe73cf7b6545199a4f863e13c93e1f50452a00c6.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-x | pkglocate | 4 |
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 |