From nobody Thu Dec 7 20:43:31 2023 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SmR7S1PZ0z53ZY2; Thu, 7 Dec 2023 20:43:32 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SmR7S0hn9z4vW0; Thu, 7 Dec 2023 20:43:32 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701981812; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=EeySaUITaiqkNdXMJGCIISBbtyzMd4qrA7BOwv8l1bI=; b=Ge/kN9UCNvsB1FxNuNR1iryV0mmdGNWJzaSZ7cDSJ93VOGPXfHvU40yR0vMrVVp/ZoO/YU oE2zyuW7zOGS954TmpdbeO50to0GcnkSnHjfPXF58405DISfX3pMq9OZdh2gu4s5RT62wq Pc4nAwLq8fjXRUUSmKdy69ZAtBN4tOZrxfzcmMKjAz+sOhvKdwsWdKuIE3dOWFWr9OWxlO 19As1XJLhWIdpS3/JflAk0Zt33bS93vy0HemzrUH06ImrROQHiw74bpJ7Ixqh/65Ru70LJ Plz2teBJKNxo12GkBxJqt+dOQVr7oT54ANzKeOd81NC2zIaYX/tJrUFcK7jlRw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1701981812; a=rsa-sha256; cv=none; b=pPXmxuFotLYbG+E7NHpWDWQASyv2LIS5sexrS6lhCQsK+/Vm8PcaRe1f8bGp8nC9PFhx1R z7a3TkT2eLRBsxLnq/3/gUfx5WVZ7m2qTdAOA3ZtHRUuneGZ3Vblyj7KkgZlqzOEir7Jgj +KM/wbBdwh0UopgZjxc4TD7AT/qNvVroPJmB8tBOgRapyKN+GxGRq3kGlxGSVnONCEl+Ga vCGlLe8c4eHL6tTu7oyoLbz0aO4/0r3jWBvR1nbtKjDSAAXRg8jKjlDYLMcFepvQVmZLJ1 /UNi6iBKiIVTv0AOD5KyjKnHtOrHeycL7tSbei2IYLq9f9GIFhQw9uvdb3v+Dg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701981812; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=EeySaUITaiqkNdXMJGCIISBbtyzMd4qrA7BOwv8l1bI=; b=AEvfsSDUjPfRI6vQVvGbTE3r61cREhJMCRGpvSdHZzYWIpghXMOvquL9I8AADeaLO/1h+D cQ0wDqDUunPQQ6WQAsgMjYckbbjr5CvWvlfVBQ2569YUixBXTavsEVnQMvo4xPkDpJWP+P vshbv4xYOBcd9ZpgGHRUfbQe9TUMEKBWv7sRBL7lHL6bmLJ0m2vZHu3CT87ZApsFpHYF0s meTiOqi0EnYaqmNY4V3Y2MjaLyZParWTFhqVCioGTSCoLObhHdIAwbdvYT5SqQhlGULO++ PelX30aJ/uLkvtEWXnnGLCykTLatIV5i4I2f5n536lv9htXg69liiE6utGFSBg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SmR7R6pPhzsMG; Thu, 7 Dec 2023 20:43:31 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3B7KhVGN073486; Thu, 7 Dec 2023 20:43:31 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3B7KhVW9073483; Thu, 7 Dec 2023 20:43:31 GMT (envelope-from git) Date: Thu, 7 Dec 2023 20:43:31 GMT Message-Id: <202312072043.3B7KhVW9073483@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: 7b085f14b73c - main - build: use bare (and portable) echo instead of echo -n List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7b085f14b73c1ac7168b50a86478a32bbcaab1fa Auto-Submitted: auto-generated The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=7b085f14b73c1ac7168b50a86478a32bbcaab1fa commit 7b085f14b73c1ac7168b50a86478a32bbcaab1fa Author: Warner Losh AuthorDate: 2023-12-07 20:27:27 +0000 Commit: Warner Losh CommitDate: 2023-12-07 20:42:52 +0000 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 --- Makefile.inc1 | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Makefile.inc1 b/Makefile.inc1 index d85e6fd8f15b..2a2df2becff2 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -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)