From b36523f1aef8d45cd38cd408f19ef30595243f29 Mon Sep 17 00:00:00 2001 From: onefang Date: Tue, 19 Oct 2021 13:28:29 +1000 Subject: Fix up backing up members. --- src/sledjchisl/sledjchisl.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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 - } // Look for ancient ones first. - char *fullName = qstrreplace("tn", simd->name, " ", "_"); + char *fullName = NULL; + + if (m) + { + if (member) + fullName = qstrreplace("tn", name, " ", "_"); + } + if (NULL == fullName) + fullName = qstrreplace("tn", simd->name, " ", "_"); char *gar1 = xmprintf("%s_git%cAR", fullName, TYPE), *gtr1 = xmprintf("%s/%s.tar.xz", scBackup, gar1); // TODO - refactor this. -- cgit v1.1