diff options
author | Christian Grothoff <christian@grothoff.org> | 2014-02-02 09:42:51 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2014-02-02 09:42:51 +0000 |
commit | 410c75bad8236fa2f525c5bd5a9ddcee04de31dc (patch) | |
tree | 3fc2d9a7df44acb0a54f44392a43338016aa857b /src/util/os_installation.c | |
parent | 2bf5b3f1fbbd47060126f258253b0eb6b8661340 (diff) | |
download | gnunet-410c75bad8236fa2f525c5bd5a9ddcee04de31dc.tar.gz gnunet-410c75bad8236fa2f525c5bd5a9ddcee04de31dc.zip |
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.
Diffstat (limited to 'src/util/os_installation.c')
-rw-r--r-- | src/util/os_installation.c | 10 |
1 files changed, 5 insertions, 5 deletions
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) | |||
541 | case GNUNET_OS_IPK_LIBDIR: | 541 | case GNUNET_OS_IPK_LIBDIR: |
542 | if (isbasedir) | 542 | if (isbasedir) |
543 | { | 543 | { |
544 | dirname = | ||
545 | DIR_SEPARATOR_STR "lib" DIR_SEPARATOR_STR "gnunet" DIR_SEPARATOR_STR; | ||
546 | GNUNET_asprintf (&tmp, | 544 | GNUNET_asprintf (&tmp, |
547 | "%s%s%s", | 545 | "%s%s%s%s%s", |
548 | execpath, | 546 | execpath, |
549 | dirname, | 547 | DIR_SEPARATOR_STR "lib", |
550 | (NULL != multiarch) ? multiarch : ""); | 548 | (NULL != multiarch) ? DIR_SEPARATOR_STR : "", |
549 | (NULL != multiarch) ? multiarch : "", | ||
550 | DIR_SEPARATOR_STR "gnunet" DIR_SEPARATOR_STR); | ||
551 | if (GNUNET_YES == | 551 | if (GNUNET_YES == |
552 | GNUNET_DISK_directory_test (tmp, GNUNET_YES)) | 552 | GNUNET_DISK_directory_test (tmp, GNUNET_YES)) |
553 | { | 553 | { |