diff options
author | Volker Uhrig | 2008-05-24 17:53:15 +0200 |
---|---|---|
committer | Volker Uhrig | 2008-05-24 17:53:15 +0200 |
commit | d17da909a26313ea4657d4cd4697a754be4afdd5 (patch) | |
tree | 63085c8951d668ed96aae9bb149c228139417c0f | |
parent | * fixed problems with local installed version raised through vmpl2.0 (diff) | |
download | core-d17da909a26313ea4657d4cd4697a754be4afdd5.tar.gz core-d17da909a26313ea4657d4cd4697a754be4afdd5.tar.xz core-d17da909a26313ea4657d4cd4697a754be4afdd5.zip |
* minor bugfix
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1794 95ad53e4-c205-0410-b2fa-d234c58c8868
-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} |