summaryrefslogtreecommitdiffstats
path: root/os-plugins/plugins/vmware/files/runvmware-player-v1
diff options
context:
space:
mode:
authorVolker Uhrig2008-07-10 19:00:38 +0200
committerVolker Uhrig2008-07-10 19:00:38 +0200
commitb6dce2ccb872702636ea81a4e69ea79de81b32a3 (patch)
tree39bda3a111cb2fa64361a6d6915733f8456372df /os-plugins/plugins/vmware/files/runvmware-player-v1
parent* minor fix (diff)
downloadcore-b6dce2ccb872702636ea81a4e69ea79de81b32a3.tar.gz
core-b6dce2ccb872702636ea81a4e69ea79de81b32a3.tar.xz
core-b6dce2ccb872702636ea81a4e69ea79de81b32a3.zip
* fixed vmbuild version check
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1918 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'os-plugins/plugins/vmware/files/runvmware-player-v1')
-rw-r--r--os-plugins/plugins/vmware/files/runvmware-player-v18
1 files changed, 5 insertions, 3 deletions
diff --git a/os-plugins/plugins/vmware/files/runvmware-player-v1 b/os-plugins/plugins/vmware/files/runvmware-player-v1
index e41dfcb5..ee170064 100644
--- a/os-plugins/plugins/vmware/files/runvmware-player-v1
+++ b/os-plugins/plugins/vmware/files/runvmware-player-v1
@@ -516,9 +516,11 @@ filecheck
# VMPlayer Version.
# strings is the fastest and most secure way, vmplayer -v takes too much time
# and resources
-vmbuild=$(strings /usr/lib/vmware/bin/vmplayer \
- | grep -m 1 "build-"|sed 's/.*build-//')
-if [ ! -n ${vmbuild} ]; then
+# TODO: find a solution which is faster... handeling different installed
+# vmplversions
+#vmbuild=$(strings /usr/lib/vmware/bin/vmplayer \
+# | grep -m 1 "build-"|sed 's/.*build-//')
+if [ -z ${vmbuild} ]; then
vmbuild=$(vmplayer -v | sed 's/.*build-//')
fi