aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-07-12 11:46:03 +0000
committerChristian Grothoff <christian@grothoff.org>2010-07-12 11:46:03 +0000
commitb8a18019d6487403d55a7b1d61a71ee3b5dac591 (patch)
tree439693416f85a19ddd991bd56fe2f3110bb49114
parent3b4ef1c128d81266cbcc3c6b3769ec5d1197050a (diff)
downloadgnunet-b8a18019d6487403d55a7b1d61a71ee3b5dac591.tar.gz
gnunet-b8a18019d6487403d55a7b1d61a71ee3b5dac591.zip
fix
-rw-r--r--src/util/os_installation.c7
1 files 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 ()
221 while (NULL != (end = strchr (pos, ':'))) 221 while (NULL != (end = strchr (pos, ':')))
222 { 222 {
223 *end = '\0'; 223 *end = '\0';
224 sprintf (buf, "%s/%s", pos, "gnunetd"); 224 sprintf (buf, "%s/%s", pos, "gnunet-arm");
225 if (GNUNET_DISK_file_test (buf) == GNUNET_YES) 225 if (GNUNET_DISK_file_test (buf) == GNUNET_YES)
226 { 226 {
227 pos = GNUNET_strdup (pos); 227 pos = GNUNET_strdup (pos);
@@ -231,7 +231,7 @@ get_path_from_PATH ()
231 } 231 }
232 pos = end + 1; 232 pos = end + 1;
233 } 233 }
234 sprintf (buf, "%s/%s", pos, "gnunetd"); 234 sprintf (buf, "%s/%s", pos, "gnunet-arm");
235 if (GNUNET_DISK_file_test (buf) == GNUNET_YES) 235 if (GNUNET_DISK_file_test (buf) == GNUNET_YES)
236 { 236 {
237 pos = GNUNET_strdup (pos); 237 pos = GNUNET_strdup (pos);
@@ -296,7 +296,8 @@ os_get_gnunet_path ()
296 /* other attempts here */ 296 /* other attempts here */
297 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, 297 GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
298 _ 298 _
299 ("Could not determine installation path for GNUnet. Set `%s' environment variable.\n"), 299 ("Could not determine installation path for %s. Set `%s' environment variable.\n"),
300 "GNUnet",
300 "GNUNET_PREFIX"); 301 "GNUNET_PREFIX");
301 return NULL; 302 return NULL;
302} 303}