From e1bbc45033a390ddc88b4ebde2e06918ed894c39 Mon Sep 17 00:00:00 2001 From: David Brown Date: Sun, 30 Apr 2023 22:59:38 -0700 Subject: [PATCH] Issue: 591 - line breaks in generated scrip --- quickemu | 1 + 1 file changed, 1 insertion(+) diff --git a/quickemu b/quickemu index 80578be..c86d494 100755 --- a/quickemu +++ b/quickemu @@ -1236,6 +1236,7 @@ function vm_boot() { sdl) export SDL_MOUSE_FOCUS_CLICKTHROUGH=1;; esac echo "${QEMU}" "${SHELL_ARGS}" >> "${VMDIR}/${VMNAME}.sh" + sed -i -e 's/ -/\n -/g' ${VMDIR}/${VMNAME}.sh ${QEMU} "${args[@]}" > "${VMDIR}/${VMNAME}.log" & sleep 0.25 fi