aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/sledjchisl/sledjchisl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sledjchisl/sledjchisl.c')
-rw-r--r--src/sledjchisl/sledjchisl.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/sledjchisl/sledjchisl.c b/src/sledjchisl/sledjchisl.c
index 405da6a..ca2927e 100644
--- a/src/sledjchisl/sledjchisl.c
+++ b/src/sledjchisl/sledjchisl.c
@@ -7700,6 +7700,12 @@ jit library is loaded or the JIT compiler will not be activated.
7700 char *newPath = xmprintf("%s/current/bin/sledjchisl", scRoot); 7700 char *newPath = xmprintf("%s/current/bin/sledjchisl", scRoot);
7701 tmp = xmprintf("%s/sledjchisl", scBin); 7701 tmp = xmprintf("%s/sledjchisl", scBin);
7702 I("Symlinking %s to %s", newPath, tmp); 7702 I("Symlinking %s to %s", newPath, tmp);
7703 if (qfile_exist(tmp))
7704 {
7705 snprintf(toybuf, sizeof(toybuf), "rm %s", tmp);
7706 if (!WIFEXITED(system(toybuf)))
7707 E("rm command failed!");
7708 }
7703 if (0 != symlink(newPath, tmp)) 7709 if (0 != symlink(newPath, tmp))
7704 perror_msg("Symlinking %s to %s", newPath, tmp); 7710 perror_msg("Symlinking %s to %s", newPath, tmp);
7705 free(tmp); 7711 free(tmp);