Skip to content

Commit 7668519

Browse files
fix: prevent FAT directory name munging
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
1 parent c96a248 commit 7668519

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

quickget

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ function create_macos_disk_with_opencore() {
304304
# mcopy -s recursively copies directories including their contents
305305
# This preserves .kext bundle structure (directories with Contents/Info.plist)
306306
if [ -d "${OPENCORE_DIR}/EFI/BOOT" ]; then
307-
if ! ${MCOPY} -i "${TEMP_DISK}@@${EFI_OFFSET_BYTES}" -s "${OPENCORE_DIR}/EFI/BOOT" ::/EFI/; then
307+
if ! LC_ALL='' ${MCOPY} -i "${TEMP_DISK}@@${EFI_OFFSET_BYTES}" -s "${OPENCORE_DIR}/EFI/BOOT" ::/EFI/; then
308308
echo "ERROR! Failed to copy EFI/BOOT to disk."
309309
rm -f "${TEMP_DISK}"
310310
return 1

0 commit comments

Comments
 (0)