diff options
author | joerg <joerg@pkgsrc.org> | 2007-11-12 15:35:41 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2007-11-12 15:35:41 +0000 |
commit | 05428e13e11477b578ae6a445c954a81ad655308 (patch) | |
tree | e154c1bbafbbd7330925cfb6be9745521b4fd951 /mk | |
parent | 8fb58c60bb2fd79b6429c102464c7cdffc12d30d (diff) | |
download | pkgsrc-05428e13e11477b578ae6a445c954a81ad655308.tar.gz |
Fix uninitialised variable resulting in wildcard patterns printed twice.
From Arnaud Lacombe in PR 37367.
Diffstat (limited to 'mk')
-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 ~ /[{]/ || \ |