Permalink
Browse files

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.
  • Loading branch information...
agc
agc committed Feb 16, 2001
1 parent b4e15c1 commit 9b38a421109dca65eb628e4da043a994b60bcb00
Showing with 2 additions and 2 deletions.
  1. +2 −2 pkglocate
View
@@ -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

0 comments on commit 9b38a42

Please sign in to comment.