summaryrefslogtreecommitdiff
path: root/mk/bulk/post-build
diff options
context:
space:
mode:
Diffstat (limited to 'mk/bulk/post-build')
-rw-r--r--mk/bulk/post-build14
1 files changed, 5 insertions, 9 deletions
diff --git a/mk/bulk/post-build b/mk/bulk/post-build
index 33e4db51616..62e0b6838bc 100644
--- a/mk/bulk/post-build
+++ b/mk/bulk/post-build
@@ -1,5 +1,5 @@
#!/usr/pkg/bin/perl
-# $NetBSD: post-build,v 1.7 2000/12/30 14:53:28 dmcmahill Exp $
+# $NetBSD: post-build,v 1.8 2000/12/31 17:38:32 dmcmahill Exp $
#
# Collect stuff after a pkg bulk build
#
@@ -16,12 +16,6 @@ if (-f $ENV{"BULK_BUILD_CONF"}) {
$BULK_BUILD_CONF=dirname("$0")."/build.conf";
}
-# read the setting for the .broken.file from the environment (it gets put there by the
-# build script).
-$BROKENFILE=$ENV{"BROKENF"} or
-die "Error: BROKENF must be set to the name of the .broken.files\n This should have happened in the top level build script\n";
-chomp($BROKENFILE);
-
# Dig given variable out of config file, and set it
sub getconf
{
@@ -42,8 +36,11 @@ getconf("osrev"); # `uname -r`
getconf("arch"); # `uname -m`
chomp($date=`date`);
-$verbose=1;
+# extract the name of the files used for the build log and broken build log.
+# these have defaults set by bsd.bulk-pkg.mk and may be overridden in /etc/mk.conf
+chomp($BROKENFILE=`( cd $USR_PKGSRC/pkgtools/pkglint ; make show-var VARNAME=BROKENFILE )`);
+$verbose=1;
if ($verbose) {
print "\n";
@@ -52,7 +49,6 @@ if ($verbose) {
print "\n";
}
-
system("mkdir -p ${FTP}");
# Copy over the output from the build process