diff options
author | rillig <rillig> | 2006-01-15 23:33:23 +0000 |
---|---|---|
committer | rillig <rillig> | 2006-01-15 23:33:23 +0000 |
commit | c0e317d57ccc5d944ca15cd7bc692b16c9278120 (patch) | |
tree | a392eea801829c477ee890f655cc83ed6a19938a /mk/bulk | |
parent | e76df281bdaf4449877d7575f62dab901abc20b6 (diff) | |
download | pkgsrc-c0e317d57ccc5d944ca15cd7bc692b16c9278120.tar.gz |
Allow "=" characters to appear in a line that comments out a package in a
category Makefile. Adjusted the other regular expressions to express more
clearly what is meant.
Diffstat (limited to 'mk/bulk')
-rw-r--r-- | mk/bulk/printdepends | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bulk/printdepends b/mk/bulk/printdepends index 80cf0dc7f02..34bc064f9b0 100644 --- a/mk/bulk/printdepends +++ b/mk/bulk/printdepends @@ -1,5 +1,5 @@ #!/bin/sh -# $NetBSD: printdepends,v 1.22 2005/12/31 02:06:10 minskim Exp $ +# $NetBSD: printdepends,v 1.23 2006/01/15 23:33:23 rillig Exp $ # # Copyright (c) 1999, 2000 Hubert Feyrer <hubertf@NetBSD.org> @@ -125,7 +125,7 @@ esac case ${PKGLIST} in "") # List of all packages, from pkgsrc/*/Makefile - list=`${GREP} '^[[:space:]]*'SUBDIR */Makefile | ${GREP} -v regress/ | ${SED} 's,/Makefile.*=[[:space:]]*,/,'` + list=`${GREP} '^SUBDIR+=' */Makefile | ${GREP} -v '^regress/' | ${SED} -e 's,/Makefile:SUBDIR+=[[:space:]]*,/,' -e 's,#.*,,'` ;; *) list="${PKGLIST}" ;; |