diff options
author | Christian Hesse <mail@eworm.de> | 2024-07-11 23:09:32 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2024-07-16 13:50:22 +0200 |
commit | 8074305b9250d98e182f5cb968de2c8bd438f7f3 (patch) | |
tree | 05f01e07de91d1a1bf5571e974468e35e1d9510f /global-functions.rsc | |
parent | f2ca62aed0ff062b6e2dec13f8bb20e828bfdeb2 (diff) |
global-functions: $Dos2Unix: use :tolf
Diffstat (limited to 'global-functions.rsc')
-rw-r--r-- | global-functions.rsc | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/global-functions.rsc b/global-functions.rsc index b824d62..312936b 100644 --- a/global-functions.rsc +++ b/global-functions.rsc @@ -313,11 +313,7 @@ # convert line endings, DOS -> UNIX :set Dos2Unix do={ - :local Input [ :tostr $1 ]; - - :global CharacterReplace; - - :return [ $CharacterReplace $Input ("\r\n") ("\n") ]; + :return [ :tolf [ :tostr $1 ] ]; } # download package from upgrade server |