aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--global-functions.rsc6
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