From a1f81258c164e772307043cf1be65c1343319d58 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Mon, 5 May 2025 15:11:14 -0400 Subject: Fix some permission stuff to make it more seamless to install to directories the user doesn't own (e.g. /usr/local, owned by root) --- src/stdlib/stacktrace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/stdlib/stacktrace.c') diff --git a/src/stdlib/stacktrace.c b/src/stdlib/stacktrace.c index bcec6b0a..f4093849 100644 --- a/src/stdlib/stacktrace.c +++ b/src/stdlib/stacktrace.c @@ -102,7 +102,7 @@ public void print_stacktrace(FILE *out, int offset) cwd[cwd_len++] = '/'; cwd[cwd_len] = '\0'; - const char *install_dir = TOMO_HOME"/installed/"; + const char *install_dir = TOMO_PREFIX"/share/tomo/installed/"; static void *stack[1024]; int64_t size = (int64_t)backtrace(stack, sizeof(stack)/sizeof(stack[0])); -- cgit v1.2.3