From 3e5916530b995bda1a5deea7ecf9c185a402d463 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Thu, 4 Apr 2013 09:34:21 +0200 Subject: Put the external tools in $libdir/p11-kit These are possibly architecture specific binaries, so they should be in $libdir/p11-kit and not in $datadir/p11-kit --- tools/tool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/tool.c') diff --git a/tools/tool.c b/tools/tool.c index 961890d..a2dbcbd 100644 --- a/tools/tool.c +++ b/tools/tool.c @@ -202,7 +202,7 @@ exec_external (const char *command, /* Add our libexec directory to the path */ path = getenv ("PATH"); - if (!asprintf (&env, "PATH=%s%s%s", path ? path : "", path ? P11_PATH_SEP : "", PKGDATADIR)) + if (!asprintf (&env, "PATH=%s%s%s", path ? path : "", path ? P11_PATH_SEP : "", PRIVATEDIR)) return_if_reached (); putenv (env); -- cgit v1.1