diff options
author | onefang | 2021-10-19 13:28:29 +1000 |
---|---|---|
committer | onefang | 2021-10-19 13:28:29 +1000 |
commit | b36523f1aef8d45cd38cd408f19ef30595243f29 (patch) | |
tree | 5c2f43b478262206db93feac2f1c77b6fff15cd9 /src | |
parent | More tweaking of the backup system. (diff) | |
download | opensim-SC-b36523f1aef8d45cd38cd408f19ef30595243f29.zip opensim-SC-b36523f1aef8d45cd38cd408f19ef30595243f29.tar.gz opensim-SC-b36523f1aef8d45cd38cd408f19ef30595243f29.tar.bz2 opensim-SC-b36523f1aef8d45cd38cd408f19ef30595243f29.tar.xz |
Fix up backing up members.
Diffstat (limited to 'src')
-rw-r--r-- | src/sledjchisl/sledjchisl.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/sledjchisl/sledjchisl.c b/src/sledjchisl/sledjchisl.c index 8e3a724..885bfad 100644 --- a/src/sledjchisl/sledjchisl.c +++ b/src/sledjchisl/sledjchisl.c | |||
@@ -2343,7 +2343,15 @@ TODO - | |||
2343 | } | 2343 | } |
2344 | 2344 | ||
2345 | // Look for ancient ones first. | 2345 | // Look for ancient ones first. |
2346 | char *fullName = qstrreplace("tn", simd->name, " ", "_"); | 2346 | char *fullName = NULL; |
2347 | |||
2348 | if (m) | ||
2349 | { | ||
2350 | if (member) | ||
2351 | fullName = qstrreplace("tn", name, " ", "_"); | ||
2352 | } | ||
2353 | if (NULL == fullName) | ||
2354 | fullName = qstrreplace("tn", simd->name, " ", "_"); | ||
2347 | char *gar1 = xmprintf("%s_git%cAR", fullName, TYPE), *gtr1 = xmprintf("%s/%s.tar.xz", scBackup, gar1); | 2355 | char *gar1 = xmprintf("%s_git%cAR", fullName, TYPE), *gtr1 = xmprintf("%s/%s.tar.xz", scBackup, gar1); |
2348 | 2356 | ||
2349 | // TODO - refactor this. | 2357 | // TODO - refactor this. |