From: Christian Grothoff Date: Mon, 12 Jul 2010 11:46:03 +0000 (+0000) Subject: fix X-Git-Tag: initial-import-from-subversion-38251~20970 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b8a18019d6487403d55a7b1d61a71ee3b5dac591;p=oweals%2Fgnunet.git fix --- diff --git a/src/util/os_installation.c b/src/util/os_installation.c index 19469e81e..2470c0ce2 100644 --- a/src/util/os_installation.c +++ b/src/util/os_installation.c @@ -221,7 +221,7 @@ get_path_from_PATH () while (NULL != (end = strchr (pos, ':'))) { *end = '\0'; - sprintf (buf, "%s/%s", pos, "gnunetd"); + sprintf (buf, "%s/%s", pos, "gnunet-arm"); if (GNUNET_DISK_file_test (buf) == GNUNET_YES) { pos = GNUNET_strdup (pos); @@ -231,7 +231,7 @@ get_path_from_PATH () } pos = end + 1; } - sprintf (buf, "%s/%s", pos, "gnunetd"); + sprintf (buf, "%s/%s", pos, "gnunet-arm"); if (GNUNET_DISK_file_test (buf) == GNUNET_YES) { pos = GNUNET_strdup (pos); @@ -296,7 +296,8 @@ os_get_gnunet_path () /* other attempts here */ GNUNET_log (GNUNET_ERROR_TYPE_ERROR, _ - ("Could not determine installation path for GNUnet. Set `%s' environment variable.\n"), + ("Could not determine installation path for %s. Set `%s' environment variable.\n"), + "GNUnet", "GNUNET_PREFIX"); return NULL; }