git: ccb0365643dc - main - stale symlinks: configurable obj dir prefix
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 12 Aug 2024 19:38:16 UTC
The branch main has been updated by wosch: URL: https://cgit.FreeBSD.org/src/commit/?id=ccb0365643dc5e8d37ada3789bbe370b81ba5b3c commit ccb0365643dc5e8d37ada3789bbe370b81ba5b3c Author: Wolfram Schneider <wosch@FreeBSD.org> AuthorDate: 2024-08-12 19:34:43 +0000 Commit: Wolfram Schneider <wosch@FreeBSD.org> CommitDate: 2024-08-12 19:34:43 +0000 stale symlinks: configurable obj dir prefix Use $MAKEOBJDIRPREFIX if set, otherwise /usr/obj --- 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)