mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-06 16:40:47 +00:00
build: use bare (and portable) echo instead of echo -n
There's no need to use echo -n here. A single echo will do nicely. This fixes the post-buildworld output on a macos build, where echo -n is implemented like System V instead of BSD (so you get two lines first one starting with -n). Sponsored by: Netflix Reviewed by: jrtc27, emaste Differential Revision: https://reviews.freebsd.org/D42869
This commit is contained in:
parent
bd234c0d4c
commit
7b085f14b7
|
@ -1231,8 +1231,7 @@ buildworld_epilogue: .PHONY
|
|||
@echo "--------------------------------------------------------------"
|
||||
@echo ">>> World build completed on `LC_ALL=C date`"
|
||||
@seconds=$$(($$(date '+%s') - ${_BUILDWORLD_START})); \
|
||||
echo -n ">>> World built in $$seconds seconds, "; \
|
||||
echo "ncpu: $$(${_ncpu_cmd})${.MAKE.JOBS:S/^/, make -j/}"
|
||||
echo ">>> World built in $$seconds seconds, ncpu: $$(${_ncpu_cmd})${.MAKE.JOBS:S/^/, make -j/}"
|
||||
@echo "--------------------------------------------------------------"
|
||||
|
||||
#
|
||||
|
@ -1808,8 +1807,7 @@ buildkernel: .MAKE .PHONY
|
|||
|
||||
.endfor
|
||||
@seconds=$$(($$(date '+%s') - ${_BUILDKERNEL_START})); \
|
||||
echo -n ">>> Kernel(s) ${BUILDKERNELS} built in $$seconds seconds, "; \
|
||||
echo "ncpu: $$(${_ncpu_cmd})${.MAKE.JOBS:S/^/, make -j/}"
|
||||
echo ">>> Kernel(s) ${BUILDKERNELS} built in $$seconds seconds, ncpu: $$(${_ncpu_cmd})${.MAKE.JOBS:S/^/, make -j/}"
|
||||
@echo "--------------------------------------------------------------"
|
||||
|
||||
.if !make(packages) && !make(update-packages)
|
||||
|
|
Loading…
Reference in a new issue