[PATCH] run: include 'src' in $PATH for the daemons

Ján Tomko jtomko at redhat.com
Thu Mar 10 07:19:18 UTC 2022

On a Wednesday in 2022, Daniel P. Berrangé wrote:
>Currently the 'run' script modifies $PATH to add the 'tools'
>directly to pick up client programs. It fails to add the 'src'
>directory to pick up the daemons.

I did not realize I don't have to type the 'tools/' part.
(Added by commit a5b1b1fa4887dae12aca6817386a72f6c6b37f06
for libguestfs test suite)

>Signed-off-by: Daniel P. Berrangé <berrange at redhat.com>
> run.in | 1 +
> 1 file changed, 1 insertion(+)
>diff --git a/run.in b/run.in
>index 174b191675..3be7818d32 100644
>--- a/run.in
>+++ b/run.in
>@@ -70,6 +70,7 @@ env = os.environ
> prepend(env, "LD_LIBRARY_PATH", os.path.join(here, "src"))
> prepend(env, "PKG_CONFIG_PATH", os.path.join(here, "src"))
> prepend(env, "PATH", os.path.join(here, "tools"))
>+prepend(env, "PATH", os.path.join(here, "src"))

Reviewed-by: Ján Tomko <jtomko at redhat.com>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20220310/7ee213d7/attachment.sig>

More information about the libvir-list mailing list