From nobody Mon Sep 16 08:35:18 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 4X6dX73mgYz5WmmZ; Mon, 16 Sep 2024 08:35:19 +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 4X6dX70qNbz4Y6w; Mon, 16 Sep 2024 08:35:19 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1726475719; 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=0nO98ytmyA/NRtYBD10CJDksSqBxFO+oRNvlPBjJeKk=; b=YD71kK5QMgDbMCAEtNnhspu6DUbTH0aUA5YMtpFbL+SrLb9nA7YtMNzLOT8YfRAVQQjQSR 3MCA9N4XL/AQ0f80KOfT3VIP65VXCSjn+Qn2xe+/+5GCEwRZlIjuKPOip3LLeBV3uioyFy r1XSoZJI6eYvIglkRYTzPOgPG4dNSJd2NR7+BnQKF5Z2CG3zX8BA0+6Pa17rW/c+Cr8mj+ KwTHcNCKOUEywnLePe6Ojl7zI8tkqt8gTA+uLVloygZY3PUQYQaTnYd/3VxRgb94+m2Gs4 DCRQq9NEWtmyYg00OmmUwBF8K5sq92e7tu24HRq2btAARRnaZQ29LswhXHMSjw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1726475719; a=rsa-sha256; cv=none; b=h2cSGI9lTSVqIM9aFFVOpy7xKOP+AQ5V0A38CQKsk5lB8cgAEdIfBC3cgsel/QbHOKropW 6YfwhoTaEHeej45e3ykkAvjKFc25RulOaAq9xxrokYLcpTjyVR9280g80iKoHQlrVnEJYt ykIuK4JbxSWLlQBmsM8xi2EcQqeIxguMOWkejSCbePO7v/r6q7Wx4BRd6NJgbr/wBFT+9e Ec3JNfZm1UpTtI7TxE0FrJCWLoEfoY9q4tG2S3p9Dkm2LP9ik85KlhoFH9R39h7Q/vtRFA qvDrM7Qxfs7mr4WOVso7X1Ih0pmaskiunavApnaTGvgcwtXXzoPeYsyxtwPFRA== 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=1726475719; 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=0nO98ytmyA/NRtYBD10CJDksSqBxFO+oRNvlPBjJeKk=; b=Zy7mI9fEzLhGUx8KLHEWl+K++M0OFsnCoEWuemd4EibbbhAgEExUPrSFwvTXVf0Dd4hbsl FO02Wz1sjakY+CkFDwkJeOJaBUj2c9ScGQOtPyR6z5zG2qMHkmyUkwUjfKrUOice/Ltwnz xMSlQhkcx+cOpqIKfeEjLN/kIiooGWxvGaWp/Fv4w/SePI2R2lBlMciJzvKI3jlTp4ZmQM Zr2Ehcx16RhLj6jTnPyuT1INxpVPc4+MN87t9h4m6pWMUhOD9unKRgdkdxujk7a1Fr4F5J avUq1LaTOxfuKd5t5kRFtTQdp3XssvM1fgd8dw7uARK1T31mkVZOXhRocnL2jw== 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 4X6dX66JhvznSM; Mon, 16 Sep 2024 08:35:18 +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 48G8ZInR062598; Mon, 16 Sep 2024 08:35:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 48G8ZIti062595; Mon, 16 Sep 2024 08:35:18 GMT (envelope-from git) Date: Mon, 16 Sep 2024 08:35:18 GMT Message-Id: <202409160835.48G8ZIti062595@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: 28d35ab6fabd - stable/13 - 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/13 X-Git-Reftype: branch X-Git-Commit: 28d35ab6fabde24a88bd533965b2793732a0ee9e Auto-Submitted: auto-generated The branch stable/13 has been updated by wosch: URL: https://cgit.FreeBSD.org/src/commit/?id=28d35ab6fabde24a88bd533965b2793732a0ee9e commit 28d35ab6fabde24a88bd533965b2793732a0ee9e Author: Wolfram Schneider AuthorDate: 2024-09-09 14:55:29 +0000 Commit: Wolfram Schneider CommitDate: 2024-09-16 08:32:45 +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 32ebc1f9d66d..acc3fb0baaf2 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