summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2013-06-01 20:17:16 +0200
committerSimon Rettberg2013-06-01 20:17:16 +0200
commit66020de2fed830e66bd5a8ebf873f8803941dc8e (patch)
treeefcbafde68a15b985bac4d6505bc064e185b75a8
parentAlso move hidden files when mounting temp partition (diff)
downloadtm-scripts-66020de2fed830e66bd5a8ebf873f8803941dc8e.tar.gz
tm-scripts-66020de2fed830e66bd5a8ebf873f8803941dc8e.tar.xz
tm-scripts-66020de2fed830e66bd5a8ebf873f8803941dc8e.zip
[vmplayer] Fixed mounting of vmplayer NFS share
-rw-r--r--remote/modules/vmplayer/vmplayer.build8
1 files changed, 4 insertions, 4 deletions
diff --git a/remote/modules/vmplayer/vmplayer.build b/remote/modules/vmplayer/vmplayer.build
index 70143a7e..fc18936e 100644
--- a/remote/modules/vmplayer/vmplayer.build
+++ b/remote/modules/vmplayer/vmplayer.build
@@ -1,10 +1,10 @@
fetch_source() {
#mount vmware bundle directory
- [ ! -d /mnt/store/vmware ] && mkdir -p /mnt/store/vmware
- if [ "x$(ls /mnt/store/vmware)" == "x" ]; then
- mount -t nfs -o ro,async,nolock 132.230.8.113:/srv/vmext /mnt/store/vmware || perror "Could not mount vmware bundle directory. Exiting."
+ [ ! -d /mnt/store ] && mkdir -p /mnt/store
+ if [ "x$(ls /mnt/store)" == "x" ]; then
+ mount -t nfs -o ro,async,nolock 132.230.8.113:/srv/vmext /mnt/store || perror "Could not mount vmware bundle directory. Exiting."
fi
- ARCH=$(uname -m)
+ ARCH="$(uname -m)"
[ "$ARCH" = "i686" ] && ARCH=i386
local BUNDLE="$(find /mnt/store/vmware -type f -name "VMware-Player*.${ARCH}.bundle" | head -1)"
[ -z "$BUNDLE" ] && perror "Could not find vmplayer at /mnt/store for ARCH = $ARCH"