From 410c75bad8236fa2f525c5bd5a9ddcee04de31dc Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 2 Feb 2014 09:42:51 +0000 Subject: Bertrand Marc wrote: About issue #3284, there was still a little glitch in the LIBDIR case. On my box, plugins are in /usr/lib/x86_64-linux-gnu/gnunet/. You'll find attached a patch (against svn head) to fix it. --- src/util/os_installation.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/util/os_installation.c b/src/util/os_installation.c index 02d23688c..81ae18c2c 100644 --- a/src/util/os_installation.c +++ b/src/util/os_installation.c @@ -541,13 +541,13 @@ GNUNET_OS_installation_get_path (enum GNUNET_OS_InstallationPathKind dirkind) case GNUNET_OS_IPK_LIBDIR: if (isbasedir) { - dirname = - DIR_SEPARATOR_STR "lib" DIR_SEPARATOR_STR "gnunet" DIR_SEPARATOR_STR; GNUNET_asprintf (&tmp, - "%s%s%s", + "%s%s%s%s%s", execpath, - dirname, - (NULL != multiarch) ? multiarch : ""); + DIR_SEPARATOR_STR "lib", + (NULL != multiarch) ? DIR_SEPARATOR_STR : "", + (NULL != multiarch) ? multiarch : "", + DIR_SEPARATOR_STR "gnunet" DIR_SEPARATOR_STR); if (GNUNET_YES == GNUNET_DISK_directory_test (tmp, GNUNET_YES)) { -- cgit v1.2.3