summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>2000-12-30 13:05:37 +0000
committerhubertf <hubertf@pkgsrc.org>2000-12-30 13:05:37 +0000
commit388a2dda404c775c30b1bbc5d177cfd613acae75 (patch)
tree57e6d0688077636bf8281009b2742669a923b52c /mk
parent808d6f934ea3edbed6c07adcaa8525c4058d679c (diff)
downloadpkgsrc-388a2dda404c775c30b1bbc5d177cfd613acae75.tar.gz
Don't die without a proper error message
Diffstat (limited to 'mk')
-rw-r--r--mk/bulk/post-build4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bulk/post-build b/mk/bulk/post-build
index 43f5e46ca09..b2e5f3b884f 100644
--- a/mk/bulk/post-build
+++ b/mk/bulk/post-build
@@ -1,5 +1,5 @@
#!/usr/pkg/bin/perl
-# $NetBSD: post-build,v 1.5 2000/12/26 19:01:35 dmcmahill Exp $
+# $NetBSD: post-build,v 1.6 2000/12/30 13:05:37 hubertf Exp $
#
# Collect stuff after a pkg bulk build
#
@@ -55,7 +55,7 @@ chdir("$USR_PKGSRC");
system("tar plcf - $BROKENFILE */*/$BROKENFILE | ( cd ${FTP} ; tar plxf - )");
-open(HTML,">$REPORT") or die;
+open(HTML,">$REPORT") or die "Can't write $REPORT: $!\n";
print HTML <<EOHTML
<HTML>
<HEAD>