summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorgrant <grant>2004-02-05 23:53:16 +0000
committergrant <grant>2004-02-05 23:53:16 +0000
commitce0e24f60511450d768d49ac56238b80b5dd1057 (patch)
tree48cfa0e9381d4c00d1de642003e035def9cdf55e /mk
parentc5e70b5150a1efa451677272f6e4fe11f336103a (diff)
downloadpkgsrc-ce0e24f60511450d768d49ac56238b80b5dd1057.tar.gz
show build start time in localtime, not seconds-since-epoch :)
Diffstat (limited to 'mk')
-rw-r--r--mk/bulk/post-build8
1 files changed, 6 insertions, 2 deletions
diff --git a/mk/bulk/post-build b/mk/bulk/post-build
index 5d9ce2d65b2..48789bb616c 100644
--- a/mk/bulk/post-build
+++ b/mk/bulk/post-build
@@ -1,5 +1,5 @@
#!/usr/pkg/bin/perl
-# $NetBSD: post-build,v 1.30 2004/02/05 10:59:40 sketch Exp $
+# $NetBSD: post-build,v 1.31 2004/02/05 23:53:16 grant Exp $
#
# Collect stuff after a pkg bulk build
#
@@ -61,7 +61,11 @@ $ordfile=basename($ORDERFILE);
$startfile=basename($STARTFILE);
$startdate = (stat($STARTFILE))[9];
-$startdate = "unknown" if $startdate == 0;
+if ($startdate == 0) {
+ $startdate = "unknown";
+} else {
+ $startdate = localtime($startdate)."";
+}
$verbose=1;