summaryrefslogtreecommitdiff
path: root/pkglocate
diff options
context:
space:
mode:
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