mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-25 10:01:02 +01:00
stale symlinks: configurable obj dir prefix
Use $MAKEOBJDIRPREFIX if set, otherwise /usr/obj
This commit is contained in:
parent
f5ce3f4ef5
commit
ccb0365643
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user