mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-03-01 21:04:09 +01:00
scripts: time.pl: Don't print the time on stderr
Having the build time written on stderr make it appear with V=w
although it is not an error or warning. Just write the time on stdout
to have it part of the build log like all the rest, but not clutter
the output when only warnings and errors should be shown.
Signed-off-by: Alban Bedel <albeu@free.fr>
(cherry picked from commit 340df72e07)
This commit is contained in:
parent
a7be52284c
commit
ffdf98b204
1 changed files with 1 additions and 1 deletions
|
|
@ -54,7 +54,7 @@ else {
|
|||
my ($sec2, $usec2) = gettime();
|
||||
my (undef, undef, $cuser, $csystem) = times();
|
||||
|
||||
printf STDERR "%s#%.2f#%.2f#%.2f\n",
|
||||
printf STDOUT "%s#%.2f#%.2f#%.2f\n",
|
||||
$prefix, $cuser, $csystem,
|
||||
($sec2 - $sec) + ($usec2 - $usec) / 1000000;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue