aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorCalvin Rose <calsrose@gmail.com>2019-10-19 19:11:13 -0400
committerCalvin Rose <calsrose@gmail.com>2019-10-19 19:11:13 -0400
commit99ef4c751059b26f4db52a5885709691a5dee352 (patch)
tree88719a6cc921258fa78ec03fd75db1c699493dbe /tools
parentUpdate amalg step. (diff)
Fix an issue with the removecr script
Diffstat (limited to 'tools')
-rw-r--r--tools/removecr.janet2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/removecr.janet b/tools/removecr.janet
index 97016569..9f7fc227 100644
--- a/tools/removecr.janet
+++ b/tools/removecr.janet
@@ -2,6 +2,6 @@
# windows may add bad line endings, we can just force removal
# with this script.
(def fname ((dyn :args) 1))
-(def input (slurp fname :rb))
+(def input (slurp fname))
(def new-source (string/replace-all "\r" "" source))
(spit fname new-source :wb)