diff options
author | ben <ben@pkgsrc.org> | 2005-07-17 13:38:01 +0000 |
---|---|---|
committer | ben <ben@pkgsrc.org> | 2005-07-17 13:38:01 +0000 |
commit | af63d72ec7fe9ce769ed7eacda8b14119889e4e2 (patch) | |
tree | 84532b321d61660556f186e50e6f03ec14c12be4 /mk | |
parent | e1555dc02e0c688d0fe16e2a6e828924e2f3a7b2 (diff) | |
download | pkgsrc-af63d72ec7fe9ce769ed7eacda8b14119889e4e2.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; |