pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/bulk Get the OS name from "uname -s" instead of ass...
details: https://anonhg.NetBSD.org/pkgsrc/rev/0d850b15153e
branches: trunk
changeset: 460098:0d850b15153e
user: cjep <cjep%pkgsrc.org@localhost>
date: Mon Aug 18 19:19:33 2003 +0000
description:
Get the OS name from "uname -s" instead of assuming NetBSD.
Observed from Gavan's Solaris bulk build.
diffstat:
mk/bulk/post-build | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diffs (43 lines):
diff -r 605d4271d4f0 -r 0d850b15153e mk/bulk/post-build
--- a/mk/bulk/post-build Mon Aug 18 18:28:10 2003 +0000
+++ b/mk/bulk/post-build Mon Aug 18 19:19:33 2003 +0000
@@ -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 @@
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 @@
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 @@
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>
Home |
Main Index |
Thread Index |
Old Index