diff options
author | grant <grant> | 2004-02-05 23:53:16 +0000 |
---|---|---|
committer | grant <grant> | 2004-02-05 23:53:16 +0000 |
commit | ce0e24f60511450d768d49ac56238b80b5dd1057 (patch) | |
tree | 48cfa0e9381d4c00d1de642003e035def9cdf55e /mk | |
parent | c5e70b5150a1efa451677272f6e4fe11f336103a (diff) | |
download | pkgsrc-ce0e24f60511450d768d49ac56238b80b5dd1057.tar.gz |
show build start time in localtime, not seconds-since-epoch :)
Diffstat (limited to 'mk')
-rw-r--r-- | mk/bulk/post-build | 8 |
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; |