ouch: if junk gets called while LISTING/UPDATING DISTFILES HISTORY is
running, some jobs may not have a v yet.
This commit is contained in:
parent
a47664d758
commit
9fc920cf9b
@ -1,5 +1,5 @@
|
||||
# ex:ts=8 sw=4:
|
||||
# $OpenBSD: Port.pm,v 1.121 2013/10/03 18:21:16 espie Exp $
|
||||
# $OpenBSD: Port.pm,v 1.122 2013/10/04 07:15:10 espie Exp $
|
||||
#
|
||||
# Copyright (c) 2010 Marc Espie <espie@openbsd.org>
|
||||
#
|
||||
@ -509,7 +509,8 @@ sub finalize
|
||||
|
||||
my $still_tainted = 0;
|
||||
for my $job ($core->same_host_jobs) {
|
||||
if ($job->{v}{info}->has_property('tag')) {
|
||||
if (defined $job->{v} &&
|
||||
$job->{v}{info}->has_property('tag')) {
|
||||
$still_tainted = 1;
|
||||
last;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user