Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit 9b38a421109dca65eb628e4da043a994b60bcb00 1 parent b4e15c1
agc authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 pkglocate
View
4 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
Please sign in to comment.
Something went wrong with that request. Please try again.