aboutsummaryrefslogtreecommitdiff
path: root/emulators/open-vm-tools
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/open-vm-tools')
-rw-r--r--emulators/open-vm-tools/Makefile1
-rw-r--r--emulators/open-vm-tools/files/vmware-guestd.in2
2 files changed, 2 insertions, 1 deletions
diff --git a/emulators/open-vm-tools/Makefile b/emulators/open-vm-tools/Makefile
index 1539f3fee5c3..bce1166d3214 100644
--- a/emulators/open-vm-tools/Makefile
+++ b/emulators/open-vm-tools/Makefile
@@ -1,6 +1,7 @@
PORTNAME= open-vm-tools
PORTVERSION= 12.1.0
DISTVERSIONPREFIX= stable-
+PORTVERSION= 1
PORTEPOCH= 2
CATEGORIES= emulators
diff --git a/emulators/open-vm-tools/files/vmware-guestd.in b/emulators/open-vm-tools/files/vmware-guestd.in
index 99235082d679..f7aca835fbff 100644
--- a/emulators/open-vm-tools/files/vmware-guestd.in
+++ b/emulators/open-vm-tools/files/vmware-guestd.in
@@ -18,7 +18,7 @@ rcvar=vmware_guestd_enable
load_rc_config $name
checkvm_cmd="%%PREFIX%%/bin/vmware-checkvm > /dev/null 2>&1"
-if ${checkvm_cmd}; then
+if eval "${checkvm_cmd}"; then
: ${vmware_guestd_enable:="YES"}
else
: ${vmware_guestd_enable:="NO"}