From nobody Mon Sep 16 08:30:27 2024 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 4X6dQW6D9Yz5WmS4; Mon, 16 Sep 2024 08:30:27 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X6dQW443Sz4X28; Mon, 16 Sep 2024 08:30:27 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1726475427; 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=6mFJydXjjf2R6fXi/1eGc0ToQ9pSAxfPy0iOsJRccto=; b=ylbDCbtl9s8ZpItpuaSD+j4tKrEgax7cbcta7HW0WRyY4WPY6vpuQZxenV49CskqM7Uhot CJcNtUDIQX4FdmInpYdo9+h7thkfMKmzG9w9wvGnDFakszt3XcSwO+G7qanOcq24Brj63Y N8nJkduyBFvZYWSTh9vr4yYAshHhvHBN/0wh/tfIm0J/ucdwprOw+Vfn1yiE7bpYx7TGzA vYfWo6ewbkTrnI5R+xjf+3+jf+OysHmxxDJwCP+E2Nb4t3lxbe1Erzo3ZBKaz5iSkX2jwX wvms/qdOuGUASU7zVxJi5vxNPwwR6Irs/92cBlBoBwdeSjkZAyg4cI7T89CGvA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1726475427; a=rsa-sha256; cv=none; b=SChiXh0S0/YGl1sTec1006be2kYWbTs1Zv4EiQBcIAIq+V+nJxTv9b+p2OjK0+bKQvV8Dg UZV7MlEzQmSmQ85+MwCiDjIB2yn0169W23Ch/+I0CGAPfQf2501ERYb5gtxBV1O7ytxh5S 6UOXbpOKZthfFSimhS5YUDolT1VhxzKfNVSl6zFLdbDP1HQw1l5sUf3s31cDqvtiv+Ta1w mpDhhAMwc1nX5UqiGoXFAPDCXq0O0qFY8I4ye+z3/spxIUcaq21kbewARCwTMZe0dZi6zP ukyAkD2uSUb7Qlzmm0ojcQIfOsnTWPdF2GmxpOpgaVhgvYOHMjmQ3DzDs/nhBw== 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=1726475427; 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=6mFJydXjjf2R6fXi/1eGc0ToQ9pSAxfPy0iOsJRccto=; b=psTAo3gxqIG9q/lnghRpJBR8bRmLJ/X9IoLbIe1ElihoWC1935Dc+kqSXIE+8VOalmN/f9 16s4YUfYMIPS56LXwB//ZJ7nIfJ5uP8HTVTM8SgzdzHXuSuhL8E7SXYg4hRVtNeU2ivFkA wE6CJvBrjVNaTtS3YKztPxM8TXl9+QTYJBecP7qE3dnFFM88DrQcSKwk/LIxe3G9ckFtNr qFtTCDwY35UGC4X1GUwXf86rVylJOlUDg+ZfgPmsC10B6foLq2kkgPBeloQahuw5mcXkuQ 0rSC+zPrl4nx42NllgotL4/Qjr2yw6NZmIqPlZDFmMclITzGcefEimsIAk0YBg== 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 4X6dQW3YnwznF6; Mon, 16 Sep 2024 08:30:27 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 48G8UR7o053665; Mon, 16 Sep 2024 08:30:27 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 48G8URSA053662; Mon, 16 Sep 2024 08:30:27 GMT (envelope-from git) Date: Mon, 16 Sep 2024 08:30:27 GMT Message-Id: <202409160830.48G8URSA053662@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Wolfram Schneider Subject: git: a213882b9c41 - stable/14 - stale-symlink-buildworld.sh: improve documentation 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: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: wosch X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: a213882b9c4141bb5635eea2ddc2b4f1190cf219 Auto-Submitted: auto-generated The branch stable/14 has been updated by wosch: URL: https://cgit.FreeBSD.org/src/commit/?id=a213882b9c4141bb5635eea2ddc2b4f1190cf219 commit a213882b9c4141bb5635eea2ddc2b4f1190cf219 Author: Wolfram Schneider AuthorDate: 2024-09-09 14:55:29 +0000 Commit: Wolfram Schneider CommitDate: 2024-09-16 08:30:06 +0000 stale-symlink-buildworld.sh: improve documentation (cherry picked from commit c77ca9a72c9934c407852f00d88cba09f5c9e31f) --- tools/build/stale-symlink-buildworld.sh | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/tools/build/stale-symlink-buildworld.sh b/tools/build/stale-symlink-buildworld.sh index a4515db3fccb..ee918d1c9cd9 100755 --- a/tools/build/stale-symlink-buildworld.sh +++ b/tools/build/stale-symlink-buildworld.sh @@ -4,8 +4,17 @@ # # stale-symlink-buildworld.sh - check for stale symlinks on a FreeBSD system # -# You can run the script before or after `make installworld' +# The purpose of this script is to detect stale symlinks, report them to +# stderr and exit with a non-zero status. All other cases are ignored, +# such as no symlinks, missing directories, permission problems, etc. # +# You can run the script before or after `make installworld', or any other +# make targets thats installs files. +# +# You can also check your local ports with: +# +# env STALE_SYMLINK_BUILDWORLD_DIRS=/usr/local ./stale-symlink-buildworld.sh + PATH="/bin:/usr/bin"; export PATH