fix: rename matter-iso build function

This commit is contained in:
ngn 2024-08-19 01:10:22 +03:00
parent 7c53eadf9d
commit aabaf9c60b

View File

@ -65,7 +65,7 @@ check_iso_vars() {
return 1 return 1
elif [ ! -n "$VERSION" ]; then elif [ ! -n "$VERSION" ]; then
return 1 return 1
elif ! type build &>/dev/null; then elif ! type BUILD &>/dev/null; then
return 1 return 1
fi fi
@ -191,7 +191,7 @@ if [ ! -z "${PKGS1}" ]; then
fi fi
info "Running build script" info "Running build script"
echo "source /iso.sh && build" > "${tmpdir}/stager.sh" echo "source /iso.sh && BUILD" > "${tmpdir}/stager.sh"
matter-chroot "${tmpdir}" chmod +x /stager.sh matter-chroot "${tmpdir}" chmod +x /stager.sh
matter-chroot "${tmpdir}" /stager.sh matter-chroot "${tmpdir}" /stager.sh
check_ret "Build script failed" check_ret "Build script failed"