diff options
author | ben <ben> | 2005-07-17 13:38:01 +0000 |
---|---|---|
committer | ben <ben> | 2005-07-17 13:38:01 +0000 |
commit | c2122214a922a332311a46a7f8fd1f70ccc05aa1 (patch) | |
tree | 84532b321d61660556f186e50e6f03ec14c12be4 /mk | |
parent | 44c3d5340dfd667bd80eb9e05123a835895de7ca (diff) | |
download | pkgsrc-c2122214a922a332311a46a7f8fd1f70ccc05aa1.tar.gz |
Fix the following error:
Can't use an undefined value as an ARRAY reference at mk/bulk/post-build line 470.
In the case that no packages were broken, getBroken returns a hash
without the key "topten". When Perl tries to use that undefined value
as an array reference, it croaks.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/bulk/post-build | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/bulk/post-build b/mk/bulk/post-build index 02157b7db88..d2391a1eeac 100644 --- a/mk/bulk/post-build +++ b/mk/bulk/post-build @@ -1,5 +1,5 @@ #!/usr/pkg/bin/perl -# $NetBSD: post-build,v 1.55 2005/05/19 20:56:36 kristerw Exp $ +# $NetBSD: post-build,v 1.56 2005/07/17 13:38:01 ben Exp $ # # Collect stuff after a pkg bulk build # @@ -541,6 +541,7 @@ sub getBroken { 'broken' => [], 'broken depends' => [], 'not packaged' => [], + 'topten' => [] }; open (BF, $vars{BROKENFILE}) || return $res; |