diff options
author | wiz <wiz@pkgsrc.org> | 2001-02-17 16:45:10 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2001-02-17 16:45:10 +0000 |
commit | 8fb0f10972cbb527ff9b29510de0e76bf4474c45 (patch) | |
tree | 123b94807f42a121e152e4a422aec138713253bb | |
parent | cebb231563166ffddaf944f646741c9b033ae671 (diff) | |
download | pkgsrc-8fb0f10972cbb527ff9b29510de0e76bf4474c45.tar.gz |
Handle new category-Makefile format
-rw-r--r-- | mk/bulk/printdepends | 5 | ||||
-rw-r--r-- | mk/bulk/printindex | 4 |
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 |