From: Michael Tremer Date: Sat, 29 Jan 2022 10:12:41 +0000 (+0000) Subject: make.sh: Include /tools/sbin in search path X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bd2027f8660617b1d98c89cf222656ef6cb55cb8;p=people%2Fms%2Fipfire-2.x.git make.sh: Include /tools/sbin in search path Signed-off-by: Michael Tremer --- diff --git a/make.sh b/make.sh index 3561730659..f3a1aeb5e0 100755 --- a/make.sh +++ b/make.sh @@ -554,7 +554,7 @@ enterchroot() { # Install QEMU helper, if needed qemu_install_helper - local PATH="${TOOLS_DIR}/ccache/bin:/bin:/usr/bin:/sbin:/usr/sbin:${TOOLS_DIR}/bin" + local PATH="${TOOLS_DIR}/ccache/bin:/bin:/usr/bin:/sbin:/usr/sbin:${TOOLS_DIR}/sbin:${TOOLS_DIR}/bin" # Prepend any custom changes to PATH if [ -n "${CUSTOM_PATH}" ]; then @@ -664,7 +664,7 @@ lfsmake1() { [ $? == 1 ] && return 0 cd $BASEDIR/lfs && env -i \ - PATH="${TOOLS_DIR}/ccache/bin:${TOOLS_DIR}/bin:$PATH" \ + PATH="${TOOLS_DIR}/ccache/bin:${TOOLS_DIR}/sbin:${TOOLS_DIR}/bin:${PATH}" \ CCACHE_DIR="${CCACHE_DIR}"/${BUILD_ARCH}/${TOOLCHAINVER} \ CCACHE_TEMPDIR="${CCACHE_TEMPDIR}" \ CCACHE_COMPILERCHECK="${CCACHE_COMPILERCHECK}" \