git.annexia.org
/
virt-what.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vmware status confirmed by RWMJ on ESX 4.0
[virt-what.git]
/
virt-what.in
diff --git
a/virt-what.in
b/virt-what.in
index
8ac09f5
..
11ca772
100644
(file)
--- a/
virt-what.in
+++ b/
virt-what.in
@@
-63,7
+63,12
@@
if [ "$uid" != 0 ]; then
fail "this script must be run as root"
fi
fail "this script must be run as root"
fi
-PATH=/sbin:/usr/sbin:$PATH
+# Add /sbin and /usr/sbin to the path so we can find system
+# binaries like dmicode.
+# Add /usr/libexec to the path so we can find the helper binary.
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+PATH=@libexecdir@:/sbin:/usr/sbin:$PATH
# Check for various products in the BIOS information.
# Check for various products in the BIOS information.