diff --git a/src/build_sha1sums.tcl b/src/build_sha1sums.tcl index 9411dc7..2fe0111 100644 --- a/src/build_sha1sums.tcl +++ b/src/build_sha1sums.tcl @@ -81,6 +81,9 @@ proc do_sha1_in_folder {binaryfolder level} { if {[dict size $existing_sha_dict] != [dict size $new_sha_dict] || $changes > 0} { puts stderr "${indent}rewriting sha file at $shafile" set fd [open $shafile w] + #LF: CRLF sha1sums trip line-based consumers (punk-runtime's bash payload + #reads names with a trailing \r; msys grep strips it, bash read does not) + fconfigure $fd -translation lf dict for {h f} $new_sha_dict { puts -nonewline $fd "$h *$f\n" }