aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2024-01-31 15:37:41 +0100
committerGravatar Christian Hesse <mail@eworm.de>2024-01-31 23:10:15 +0100
commitc1568a33ddb848f958ac748923484887b743a0e7 (patch)
tree26030fbb1b9fc0e0c883590d3108e1b91f23a7d4
parentd0ff07b3cc64450c0a0f33d7e532cfd189936799 (diff)
backup-upload: use $CleanName
-rw-r--r--backup-upload.rsc4
1 files changed, 2 insertions, 2 deletions
diff --git a/backup-upload.rsc b/backup-upload.rsc
index 34fda2b..05bc3ff 100644
--- a/backup-upload.rsc
+++ b/backup-upload.rsc
@@ -24,7 +24,7 @@
:global Domain;
:global Identity;
-:global CharacterReplace;
+:global CleanName;
:global DeviceInfo;
:global IfThenElse;
:global LogPrintExit2;
@@ -51,7 +51,7 @@ $WaitFullyConnected;
# filename based on identity
:local DirName ("tmpfs/" . $0);
-:local FileName [ $CharacterReplace ($Identity . "." . $Domain) "." "_" ];
+:local FileName [ $CleanName ($Identity . "." . $Domain) ];
:local FilePath ($DirName . "/" . $FileName);
:local BackupFile "none";
:local ExportFile "none";