aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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";