Issue: 591 - line breaks in generated scrip

This commit is contained in:
David Brown 2023-04-30 22:59:38 -07:00 committed by Martin Wimpress
parent d431d91618
commit 8e9fba398d
1 changed files with 1 additions and 0 deletions

View File

@ -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