aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2024-01-31 15:37:01 +0100
committerGravatar Christian Hesse <mail@eworm.de>2024-01-31 23:10:15 +0100
commitd0ff07b3cc64450c0a0f33d7e532cfd189936799 (patch)
tree6e721dba07a9bf38984ab5d5dacd19a03f5363b2
parentc5714e5dc819ce00d550a749d46b023cbf37fef0 (diff)
backup-email: use $CleanName
-rw-r--r--backup-email.rsc4
1 files changed, 2 insertions, 2 deletions
diff --git a/backup-email.rsc b/backup-email.rsc
index 214c067..86f9003 100644
--- a/backup-email.rsc
+++ b/backup-email.rsc
@@ -21,7 +21,7 @@
:global Domain;
:global Identity;
-:global CharacterReplace;
+:global CleanName;
:global DeviceInfo;
:global FormatLine;
:global LogPrintExit2;
@@ -52,7 +52,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";