From: BigfootACA Date: 星期三, 6 Oct 2021 08:55:23 +0000 (+0800) Subject: build.sh: fix typo X-Git-Tag: v1.0.5~18 X-Git-Url: https://git.renegade-project.org/?a=commitdiff_plain;h=2757b6620de8e6d6744f126aba2423c008d5a7b8;p=edk2-sdm845.git build.sh: fix typo Signed-off-by: BigfootACA --- diff --git a/build.sh b/build.sh index 88bc7d8..c053a09 100755 --- a/build.sh +++ b/build.sh @@ -191,11 +191,12 @@ export GITCOMMIT echo > ramdisk set -e python3 assets/generate-logo.py "${GITCOMMIT}" -mkdir -p "${_SIMPLE_INIT}/build" "${_SIMPLE_INIT}/usr/share/locale" +mkdir -p "${_SIMPLE_INIT}/build" "${_SIMPLE_INIT}/root/usr/share/locale" for i in "${_SIMPLE_INIT}/po/"*.po do [ -f "${i}" ]||continue _name="$(basename "$i" .po)" _path="${_SIMPLE_INIT}/root/usr/share/locale/${_name}/LC_MESSAGES" + mkdir -p "${_path}" msgfmt -o "${_path}/simple-init.mo" "${i}" done bash "${_SIMPLE_INIT}/scripts/gen-rootfs-source.sh" \