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