]> git.ipfire.org Git - people/mfischer/ipfire-2.x.git/commitdiff
make.sh: Set PATH before entering the chroot environment
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 9 Jul 2024 20:16:15 +0000 (20:16 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 22 Jul 2024 15:21:20 +0000 (15:21 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
make.sh

diff --git a/make.sh b/make.sh
index 7dfdfc57bf09769320a67d432a0fa38fd9088c57..907a039908591d8a1c56ba2308cfa50d9eba59e8 100755 (executable)
--- 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"