fix: prevent FAT direectory name munging

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
This commit is contained in:
Martin Wimpress 2026-01-24 12:39:17 +00:00
parent f9249d657f
commit c96a2484e6
1 changed files with 1 additions and 1 deletions

View File

@ -311,7 +311,7 @@ function create_macos_disk_with_opencore() {
fi
fi
if [ -d "${OPENCORE_DIR}/EFI/OC" ]; then
if ! ${MCOPY} -i "${TEMP_DISK}@@${EFI_OFFSET_BYTES}" -s "${OPENCORE_DIR}/EFI/OC" ::/EFI/; then
if ! LC_ALL='' ${MCOPY} -i "${TEMP_DISK}@@${EFI_OFFSET_BYTES}" -s "${OPENCORE_DIR}/EFI/OC" ::/EFI/; then
echo "ERROR! Failed to copy EFI/OC to disk."
rm -f "${TEMP_DISK}"
return 1