Issue: 591 - line breaks in generated scrip

This commit is contained in:
David Brown 2023-04-30 22:59:38 -07:00
parent 8ee0d3a207
commit e1bbc45033

View File

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