diff options
author | joerg <joerg> | 2007-11-12 15:35:41 +0000 |
---|---|---|
committer | joerg <joerg> | 2007-11-12 15:35:41 +0000 |
commit | ea450b4d1356e6f1c1b5da89b2db8944f4b7c641 (patch) | |
tree | e154c1bbafbbd7330925cfb6be9745521b4fd951 /mk/flavor | |
parent | 70728b21ed8671acdfaeac48e5bb8817119f9550 (diff) | |
download | pkgsrc-ea450b4d1356e6f1c1b5da89b2db8944f4b7c641.tar.gz |
Fix uninitialised variable resulting in wildcard patterns printed twice.
From Arnaud Lacombe in PR 37367.
Diffstat (limited to 'mk/flavor')
-rwxr-xr-x | mk/flavor/pkg/reduce-depends.awk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/flavor/pkg/reduce-depends.awk b/mk/flavor/pkg/reduce-depends.awk index dfa2a48760b..25a00fe6a87 100755 --- a/mk/flavor/pkg/reduce-depends.awk +++ b/mk/flavor/pkg/reduce-depends.awk @@ -1,6 +1,6 @@ #!/usr/bin/awk -f # -# $NetBSD: reduce-depends.awk,v 1.5 2007/09/27 11:11:32 rillig Exp $ +# $NetBSD: reduce-depends.awk,v 1.6 2007/11/12 15:35:41 joerg Exp $ # # Copyright (c) 2006 The NetBSD Foundation, Inc. # All rights reserved. @@ -108,6 +108,7 @@ BEGIN { for (p = 0; p < P; p++) { pkgpath = pkgpaths[p] D = depends[pkgpath, 0]; + match_all = 1; for (d = 1; d <= D; d++) { dep = depends[pkgpath, d] if (dep ~ /[{]/ || \ |