From a282bfc7cddbb1f51bfc1104cb8bb90c44818c2a Mon Sep 17 00:00:00 2001 From: Martin Wimpress <304639+flexiondotorg@users.noreply.github.com> Date: Sat, 24 Jan 2026 12:39:39 +0000 Subject: [PATCH] fix: prevent FAT directory name munging Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com> --- quickget | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quickget b/quickget index 38a4ba9..c75d31b 100755 --- a/quickget +++ b/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