From b8a18019d6487403d55a7b1d61a71ee3b5dac591 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 12 Jul 2010 11:46:03 +0000 Subject: [PATCH] fix --- src/util/os_installation.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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; } -- 2.25.1