aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorCalvin Rose <calsrose@gmail.com>2019-10-29 18:56:32 -0500
committerCalvin Rose <calsrose@gmail.com>2019-10-29 18:56:32 -0500
commit46e09e4c718feb428d7f66cba4106b32f15d16eb (patch)
tree9d5ca2860da4eab01538fa9a2f3315fdaa84d821 /tools
parentFix startup environment. (diff)
Fix tools/removecr.janet
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 9f7fc227..f8588ef3 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))
+(def source (slurp fname))
(def new-source (string/replace-all "\r" "" source))
(spit fname new-source :wb)