fix: prevent FAT directory name munging
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
This commit is contained in:
parent
c96a2484e6
commit
7668519b8d
2
quickget
2
quickget
|
|
@ -304,7 +304,7 @@ function create_macos_disk_with_opencore() {
|
|||
# mcopy -s recursively copies directories including their contents
|
||||
# This preserves .kext bundle structure (directories with Contents/Info.plist)
|
||||
if [ -d "${OPENCORE_DIR}/EFI/BOOT" ]; then
|
||||
if ! ${MCOPY} -i "${TEMP_DISK}@@${EFI_OFFSET_BYTES}" -s "${OPENCORE_DIR}/EFI/BOOT" ::/EFI/; then
|
||||
if ! LC_ALL='' ${MCOPY} -i "${TEMP_DISK}@@${EFI_OFFSET_BYTES}" -s "${OPENCORE_DIR}/EFI/BOOT" ::/EFI/; then
|
||||
echo "ERROR! Failed to copy EFI/BOOT to disk."
|
||||
rm -f "${TEMP_DISK}"
|
||||
return 1
|
||||
|
|
|
|||
Loading…
Reference in New Issue