[libvirt] [PATCH] configure: Prefer /usr/bin over /bin for numad

Guilhem Moulin guilhem at guilhem.org
Wed Nov 16 13:42:06 UTC 2016


On Wed, 16 Nov 2016 at 14:28:19 +0100, Martin Kletzander wrote:
> Also, this should also include $PATH, similarly to *all other* places in
> the code =D  It was removed by mistake 11 days after its introduction
> 4,5 years ago =)

Oh, I thought there was a good reason for not having $PATH here :-)  In
fact for Debian it's enough to just prefix $PATH by applying the below:

-  AC_PATH_PROG([NUMAD], [numad], [], [/bin:/usr/bin:/usr/sbin])
+  AC_PATH_PROG([NUMAD], [numad], [], [$PATH:/bin:/usr/bin:/usr/sbin])

-- 
Guilhem.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20161116/83d35f38/attachment-0001.sig>


More information about the libvir-list mailing list