summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorcjep <cjep@pkgsrc.org>2003-08-18 19:19:33 +0000
committercjep <cjep@pkgsrc.org>2003-08-18 19:19:33 +0000
commitf958dadcb5ff5abe736a8d85faca60b64059dd32 (patch)
tree869d5aae1ef4bdbc8d58b5970d0557d58fee3ce0 /mk
parentc4661d321db7032dda222e2709fd2d07d86c95ce (diff)
downloadpkgsrc-f958dadcb5ff5abe736a8d85faca60b64059dd32.tar.gz
Get the OS name from "uname -s" instead of assuming NetBSD.
Observed from Gavan's Solaris bulk build.
Diffstat (limited to 'mk')
-rw-r--r--mk/bulk/post-build10
1 files changed, 6 insertions, 4 deletions
diff --git a/mk/bulk/post-build b/mk/bulk/post-build
index 3538357423f..d8a45347865 100644
--- a/mk/bulk/post-build
+++ b/mk/bulk/post-build
@@ -1,5 +1,5 @@
#!/usr/pkg/bin/perl
-# $NetBSD: post-build,v 1.22 2003/05/06 17:42:03 jmmv Exp $
+# $NetBSD: post-build,v 1.23 2003/08/18 19:19:33 cjep Exp $
#
# Collect stuff after a pkg bulk build
#
@@ -38,6 +38,8 @@ getconf("arch"); # `uname -m`
chomp($date=`date`);
$reportf=basename($REPORT);
+chomp($os=`uname -s`);
+
# 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 ; $ENV{"BMAKE"} show-var VARNAME=BROKENFILE )`);
@@ -63,7 +65,7 @@ $verbose=1;
if ($verbose) {
print "\n";
- print "*** NetBSD $osrev/$arch\n";
+ print "*** $os $osrev/$arch\n";
print "*** Result of bulk pkgsrc build as of $date:\n";
print "\n";
printf ("%-23s State \tBreaks\t(last modified, maintainer)\n","Pkg");
@@ -87,12 +89,12 @@ open(HTML,">$REPORT") or die "Can't write $REPORT: $!\n";
print HTML <<EOHTML
<HTML>
<HEAD>
-<TITLE>NetBSD-$osrev/$arch bulk package build</TITLE>
+<TITLE>$os-$osrev/$arch bulk package build</TITLE>
</HEAD>
<BODY BGCOLOR=#cccccc>
-<H1> NetBSD $osrev/$arch </H1>
+<H1> $os $osrev/$arch </H1>
<H2>Output of the pkgsrc bulk build<BR>
as of $date</H2>