From: Michael Tremer Date: Tue, 9 Jul 2024 20:16:15 +0000 (+0000) Subject: make.sh: Set PATH before entering the chroot environment X-Git-Tag: v2.29-core188~10^2~277 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1090b297aadef23e4b3028f19f4b9215464dedb4;p=ipfire-2.x.git make.sh: Set PATH before entering the chroot environment Signed-off-by: Michael Tremer --- diff --git a/make.sh b/make.sh index 7dfdfc57bf..907a039908 100755 --- a/make.sh +++ b/make.sh @@ -751,6 +751,9 @@ execute() { execute+=( "chroot" "${BUILD_DIR}" ) fi + # Set PATH so that we can find the env binary + local PATH="${environ[PATH]}:${PATH}" + # Reset the environment execute+=( "env"