From 8e9fba398d2b7cc8552e7a20636ca3357e9d06c0 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 f8df3f9..4532cdd 100755 --- a/quickemu +++ b/quickemu @@ -1237,6 +1237,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