Commit | Line | Data |
---|---|---|
c336567d JL |
1 | From 223c82d1d6ed1f29f26307249827ff679e09c780 Mon Sep 17 00:00:00 2001 |
2 | From: Julien Lepiller <julien@lepiller.eu> | |
3 | Date: Sat, 28 Jul 2018 12:22:12 +0200 | |
4 | Subject: [PATCH] disable resolve_symlink | |
5 | ||
6 | --- | |
7 | src/common/exec.c | 2 ++ | |
8 | 1 file changed, 2 insertions(+) | |
9 | ||
10 | diff --git a/src/common/exec.c b/src/common/exec.c | |
11 | index 878fc29..6b3e283 100644 | |
12 | --- a/src/common/exec.c | |
13 | +++ b/src/common/exec.c | |
14 | @@ -218,6 +218,8 @@ find_my_exec(const char *argv0, char *retpath) | |
15 | static int | |
16 | resolve_symlinks(char *path) | |
17 | { | |
18 | + // On GuixSD we *want* stuff relative to symlinks. | |
19 | + return 0; | |
20 | #ifdef HAVE_READLINK | |
21 | struct stat buf; | |
22 | char orig_wd[MAXPGPATH], | |
23 | -- | |
24 | 2.18.0 | |
25 |