pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/bulk don't assume there will always be broken packa...
details: https://anonhg.NetBSD.org/pkgsrc/rev/35120557fdd4
branches: trunk
changeset: 471113:35120557fdd4
user: grant <grant%pkgsrc.org@localhost>
date: Thu Mar 18 14:27:20 2004 +0000
description:
don't assume there will always be broken packages. noted by wiz.
diffstat:
mk/bulk/post-build | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (22 lines):
diff -r 583b6c537410 -r 35120557fdd4 mk/bulk/post-build
--- a/mk/bulk/post-build Thu Mar 18 14:19:22 2004 +0000
+++ b/mk/bulk/post-build Thu Mar 18 14:27:20 2004 +0000
@@ -1,5 +1,5 @@
#!/usr/pkg/bin/perl
-# $NetBSD: post-build,v 1.38 2004/03/13 11:55:40 wiz Exp $
+# $NetBSD: post-build,v 1.39 2004/03/18 14:27:20 grant Exp $
#
# Collect stuff after a pkg bulk build
#
@@ -469,7 +469,10 @@
# get and sort the broken packages
sub getBroken {
- open (BF, $BROKENFILE) or die "can't open $BROKENFILE: $!";
+ if (!open (BF, $BROKENFILE)) {
+ return undef;
+ }
+
my @in = <BF>;
close (BF);
Home |
Main Index |
Thread Index |
Old Index