Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Sep 2024 08:35:17 GMT
From:      Wolfram Schneider <wosch@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 009c3c55b31c - stable/13 - stale symlinks: configurable obj dir prefix
Message-ID:  <202409160835.48G8ZHKb062555@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by wosch:

URL: https://cgit.FreeBSD.org/src/commit/?id=009c3c55b31cb70a16744b7f179913da1be24c7f

commit 009c3c55b31cb70a16744b7f179913da1be24c7f
Author:     Wolfram Schneider <wosch@FreeBSD.org>
AuthorDate: 2024-08-12 19:34:43 +0000
Commit:     Wolfram Schneider <wosch@FreeBSD.org>
CommitDate: 2024-09-16 08:32:37 +0000

    stale symlinks: configurable obj dir prefix
    
    Use $MAKEOBJDIRPREFIX if set, otherwise /usr/obj
    
    (cherry picked from commit ccb0365643dc5e8d37ada3789bbe370b81ba5b3c)
---
 tools/build/stale-symlink-buildworld.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tools/build/stale-symlink-buildworld.sh b/tools/build/stale-symlink-buildworld.sh
index a4515db3fccb..32ebc1f9d66d 100755
--- a/tools/build/stale-symlink-buildworld.sh
+++ b/tools/build/stale-symlink-buildworld.sh
@@ -11,8 +11,10 @@ PATH="/bin:/usr/bin"; export PATH
 
 : ${ncpu=$(nproc)}
 
+obj_dir_prefix=${MAKEOBJDIRPREFIX:="/usr/obj"}
+
 # check other directories as well
-: ${STALE_SYMLINK_BUILDWORLD_DIRS="/usr/obj"}
+: ${STALE_SYMLINK_BUILDWORLD_DIRS=$obj_dir_prefix}
 
 trap 'rm -f $script' 0
 script=$(mktemp -t stale-symlink)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202409160835.48G8ZHKb062555>