From 8dab32fa94b5aa3d4a1a0f21bde35bdc8e32ef76 Mon Sep 17 00:00:00 2001 From: Michael Janczyk Date: Wed, 4 Nov 2009 15:17:56 +0000 Subject: git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@3197 95ad53e4-c205-0410-b2fa-d234c58c8868 --- os-plugins/plugins/vmchooser/XX_vmchooser.sh | 2 +- os-plugins/plugins/vmchooser/files/run-virt.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'os-plugins') 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 -- cgit v1.2.3-55-g7522