diff options
-rw-r--r-- | os-plugins/plugins/vmware/files/runvmware-player-v1 | 5 | ||||
-rw-r--r-- | os-plugins/plugins/vmware/files/runvmware-player-v2 | 5 |
2 files changed, 4 insertions, 6 deletions
diff --git a/os-plugins/plugins/vmware/files/runvmware-player-v1 b/os-plugins/plugins/vmware/files/runvmware-player-v1 index b333b51a..ec0ec652 100644 --- a/os-plugins/plugins/vmware/files/runvmware-player-v1 +++ b/os-plugins/plugins/vmware/files/runvmware-player-v1 @@ -1,4 +1,4 @@ -#!/bin/bash"> +#!/bin/bash # # Description: Script for preparing VMware environment Diskless # X Stations and interactive session chooser (v4) @@ -26,8 +26,7 @@ imagename=$(grep -i "<image_name param=\"" ${xml} | awk -F "\"" '{ print $2 }') # define name for VMware window. no utf8, perhaps we don't need it any # more. else change the next two lines #iconv -c -f utf-8 -t utf-8 < ${xml} > ${xml}.utf -short_description=$(grep "short_description param=\"" ${xml} - | sed -e "s%&.*;%; %g" | awk -F "\"" '{print $2}') +short_description=$(grep "short_description param=\"" ${xml} | sed -e "s%&.*;%; %g" | awk -F "\"" '{print $2}') # if ${short_description} not defined use ${image_name} short_description=${short_description:-"${image_name}"} displayname=${short_description} diff --git a/os-plugins/plugins/vmware/files/runvmware-player-v2 b/os-plugins/plugins/vmware/files/runvmware-player-v2 index b333b51a..ec0ec652 100644 --- a/os-plugins/plugins/vmware/files/runvmware-player-v2 +++ b/os-plugins/plugins/vmware/files/runvmware-player-v2 @@ -1,4 +1,4 @@ -#!/bin/bash"> +#!/bin/bash # # Description: Script for preparing VMware environment Diskless # X Stations and interactive session chooser (v4) @@ -26,8 +26,7 @@ imagename=$(grep -i "<image_name param=\"" ${xml} | awk -F "\"" '{ print $2 }') # define name for VMware window. no utf8, perhaps we don't need it any # more. else change the next two lines #iconv -c -f utf-8 -t utf-8 < ${xml} > ${xml}.utf -short_description=$(grep "short_description param=\"" ${xml} - | sed -e "s%&.*;%; %g" | awk -F "\"" '{print $2}') +short_description=$(grep "short_description param=\"" ${xml} | sed -e "s%&.*;%; %g" | awk -F "\"" '{print $2}') # if ${short_description} not defined use ${image_name} short_description=${short_description:-"${image_name}"} displayname=${short_description} |