X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=virt-what.in;h=11ca77232520e10c909914519f2b6a01f9997fc7;hb=f21cd90155771b905717b764008e9b4f8aa5f422;hp=8ac09f56503e0afb7e976af9aa673370bab819ed;hpb=b103ff5b0f342b91727f1e41b188df8f8cb0c71c;p=virt-what.git diff --git a/virt-what.in b/virt-what.in index 8ac09f5..11ca772 100644 --- 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 -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.