summaryrefslogtreecommitdiffstats
path: root/src/os-plugins
diff options
context:
space:
mode:
authorDirk2011-07-07 22:18:17 +0200
committerDirk2011-07-07 22:18:17 +0200
commit194a1bd64d514bd4c2afc34231bee016e4a1979f (patch)
tree0e708e0061fcb32c1996221e28c8e97e0119dce9 /src/os-plugins
parentSome more fixes in emufe plugin ... (diff)
downloadcore-194a1bd64d514bd4c2afc34231bee016e4a1979f.tar.gz
core-194a1bd64d514bd4c2afc34231bee016e4a1979f.tar.xz
core-194a1bd64d514bd4c2afc34231bee016e4a1979f.zip
More stuff for emulation ...
Diffstat (limited to 'src/os-plugins')
-rw-r--r--src/os-plugins/plugins/emufe/files/run-virt.include3
-rw-r--r--src/os-plugins/plugins/vmchooser/files/run-virt.sh2
2 files changed, 3 insertions, 2 deletions
diff --git a/src/os-plugins/plugins/emufe/files/run-virt.include b/src/os-plugins/plugins/emufe/files/run-virt.include
index c81948cb..a1799094 100644
--- a/src/os-plugins/plugins/emufe/files/run-virt.include
+++ b/src/os-plugins/plugins/emufe/files/run-virt.include
@@ -64,7 +64,8 @@ case "${emulator}" in
echo "# empty" > ${TMPDIR}/dosbox.conf
VIRTCMDOPTS="${emulator#*dosbox}"
VIRTCMDOPTS="${VIRTCMDOPTS} -conf ${TMPDIR}/dosbox.conf -fullscreen"
- VIRTCMD="dosbox -c mount c ${TMPDIR}"
+ # the directory mount has to be first
+ VIRTCMD="dosbox -c \"mount c ${TMPDIR}\""
;;
SheepShaver*|sheepshaver*)
[ "x${rombios}" != "x" ] && rom="--rom ${xmlpath}${rombios}"
diff --git a/src/os-plugins/plugins/vmchooser/files/run-virt.sh b/src/os-plugins/plugins/vmchooser/files/run-virt.sh
index 154714c6..deda552b 100644
--- a/src/os-plugins/plugins/vmchooser/files/run-virt.sh
+++ b/src/os-plugins/plugins/vmchooser/files/run-virt.sh
@@ -392,7 +392,7 @@ if [ -e ${PLUGINCONFROOT}/${xmlvirt}/run-virt.include ] ; then
if [ -e /etc/xdg/autostart/pvsgui.desktop ]; then
/usr/local/bin/pvsgui -p 2 -b >/dev/null 2>&1 &
fi
- ${VIRTCMD} ${VIRTCMDOPTS}
+ eval ${VIRTCMD} ${VIRTCMDOPTS}
writelog "Bye."
cleanexit 0
else