summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authormycroft <mycroft>1998-10-17 06:39:48 +0000
committermycroft <mycroft>1998-10-17 06:39:48 +0000
commit107f185e57e53757d2f57e2b7b1894a700514fe4 (patch)
tree3ce9d99ecb7bdafb7a1e82ff40e5082c0e5ff7f7 /mk
parente05c6dd1ef0d1bd7a2fd2fee5ab34603152f8dc6 (diff)
downloadpkgsrc-107f185e57e53757d2f57e2b7b1894a700514fe4.tar.gz
When doing binpkg-list, make sure to only look in directories with an actual
release number, not in distfiles. Makes `make readme' about 40x faster on the FTP server.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 1bbba214a30..cb391f8b211 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.178 1998/10/15 12:22:40 agc Exp $
+# $NetBSD: bsd.pkg.mk,v 1.179 1998/10/17 06:39:48 mycroft Exp $
#
# This file is in the public domain.
#
@@ -1736,7 +1736,7 @@ binpkg-list:
;; \
*) \
cd ${PACKAGES}/../..; \
- for i in */*; do \
+ for i in [1-9].*/*; do \
if [ -f $$i/${PKGREPOSITORYSUBDIR}/${PKGNAME}${PKG_SUFX} ]; then \
${ECHO} $$i; \
fi ; \