summaryrefslogtreecommitdiff
path: root/tools/tool.c
diff options
context:
space:
mode:
authorStef Walter <stefw@gnome.org>2013-04-04 09:34:21 +0200
committerStef Walter <stefw@gnome.org>2013-04-04 09:34:21 +0200
commit3e5916530b995bda1a5deea7ecf9c185a402d463 (patch)
treec07a9f80371e456d656bc7565ba9b04f3ba40af9 /tools/tool.c
parent941ff24161e040fca7382e3f98b0c1b51da21dac (diff)
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
Diffstat (limited to 'tools/tool.c')
-rw-r--r--tools/tool.c2
1 files changed, 1 insertions, 1 deletions
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);