summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mk/bulk/printdepends5
-rw-r--r--mk/bulk/printindex4
2 files changed, 4 insertions, 5 deletions
diff --git a/mk/bulk/printdepends b/mk/bulk/printdepends
index b36e2204a79..216d57de2e2 100644
--- a/mk/bulk/printdepends
+++ b/mk/bulk/printdepends
@@ -1,5 +1,5 @@
#!/bin/sh
-# $NetBSD: printdepends,v 1.5 2001/02/01 08:28:07 dmcmahill Exp $
+# $NetBSD: printdepends,v 1.6 2001/02/17 16:45:10 wiz Exp $
#
# Print list of pkg dependencies suitable for tsort(1).
# Start in /usr/pkgsrc.
@@ -12,12 +12,11 @@
cwd=$PWD
# List of all pkgs, from pkgsrc/*/Makefile
- list=`grep '^[^#].*'SUBDIR */Makefile | sed 's,/Makefile.*= *,/,'`
+ list=`grep '^[[:space:]]*'SUBDIR */Makefile | sed 's,/Makefile.*=[[:space:]]*,/,'`
#list=`grep '^[^#].*'SUBDIR ma*/Makefile | sed 's,/Makefile.*= *,/,'`
#list=x11/gnome
#list='x11/xteddy x11/xsnow'
-
for pkgdir in $list
do
cd $pkgdir
diff --git a/mk/bulk/printindex b/mk/bulk/printindex
index b3f5654af0e..3cc140ffc63 100644
--- a/mk/bulk/printindex
+++ b/mk/bulk/printindex
@@ -1,5 +1,5 @@
#!/bin/sh
-# $NetBSD: printindex,v 1.1 2001/01/28 20:56:34 dmcmahill Exp $
+# $NetBSD: printindex,v 1.2 2001/02/17 16:45:10 wiz Exp $
#
#
# Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -51,7 +51,7 @@
cwd=$PWD
# List of all pkgs, from pkgsrc/*/Makefile
-list=`grep '^[^#].*'SUBDIR */Makefile | sed 's,/Makefile.*= *,/,'`
+list=`grep '^[[:space:]]*'SUBDIR */Makefile | sed 's,/Makefile.*=[[:space:]]*,/,'`
for pkgdir in $list