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-Url: http://git.ipfire.org/?a=commitdiff_plain;h=46cb04f3b577dce5322c39e28d52f9ff826045a3;p=people%2Fms%2Fipfire-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 7dfdfc57b..907a03990 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"