summaryrefslogtreecommitdiffstats
path: root/tools/makeHeader.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'tools/makeHeader.tcl')
-rw-r--r--tools/makeHeader.tcl1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/makeHeader.tcl b/tools/makeHeader.tcl
index 17526e0..e20e336 100644
--- a/tools/makeHeader.tcl
+++ b/tools/makeHeader.tcl
@@ -108,6 +108,7 @@ namespace eval makeHeader {
proc updateTemplateFile {headerFile scriptLines} {
set f [open $headerFile "r+"]
try {
+ chan configure $f -translation {auto lf}
set content [split [chan read -nonewline $f] "\n"]
updateTemplate content [stripSurround $scriptLines]
chan seek $f 0