summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--os-plugins/plugins/vmchooser/XX_vmchooser.sh2
-rw-r--r--os-plugins/plugins/vmchooser/files/run-virt.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/os-plugins/plugins/vmchooser/XX_vmchooser.sh b/os-plugins/plugins/vmchooser/XX_vmchooser.sh
index 7f8096c3..d3ade116 100644
--- a/os-plugins/plugins/vmchooser/XX_vmchooser.sh
+++ b/os-plugins/plugins/vmchooser/XX_vmchooser.sh
@@ -72,7 +72,7 @@ if [ -e $CONFFILE ]; then
CPU_CORES=$(grep 'processor.*:' /proc/cpuinfo | wc -l)
if [ "${CPU_CORES}" -gt "1" 2>/dev/null ]; then
- echo 'cpu_cores="${CPU_CORES}")' >>${PLUGINCONFDIR}/run-virt.include
+ echo "cpu_cores=\"${CPU_CORES}\"" >>${PLUGINCONFDIR}/run-virt.include
else
echo 'cpu_cores="1"' >>${PLUGINCONFDIR}/run-virt.include
fi
diff --git a/os-plugins/plugins/vmchooser/files/run-virt.sh b/os-plugins/plugins/vmchooser/files/run-virt.sh
index d7a587f2..a905c9d9 100644
--- a/os-plugins/plugins/vmchooser/files/run-virt.sh
+++ b/os-plugins/plugins/vmchooser/files/run-virt.sh
@@ -246,7 +246,7 @@ filecheck
# Get all virtual machine specific stuff from the respective include file
if [ -e ${PLUGINCONFDIR}/run-${virt_mach}.include ] ; then
- . PLUGINCONFDIR/run-${virt_mach}.include
+ . ${PLUGINCONFDIR}/run-${virt_mach}.include
# start a windowmanager for player 2+
# otherwise expect problems with windows opening in background
if [ "${virt_mach}" = "vmware" ]; then