make.sh: Fix checking if we have a fake environment

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2024-07-05 09:52:24 +00:00
parent 03c51a4e67
commit f43f28738a

View File

@@ -814,7 +814,7 @@ wait_until_finished() {
}
fake_environ() {
[ -e "${BASEDIR}/build${TOOLS_DIR}/lib/libpakfire_preload.so" ] || return
[ -e "${BUILD_DIR}${TOOLS_DIR}/lib/libpakfire_preload.so" ] || return
local env="LD_PRELOAD=${TOOLS_DIR}/lib/libpakfire_preload.so"