From 423d015cbfc2a37d42d26de40fe1c6e1425282bc Mon Sep 17 00:00:00 2001 From: Matthew Flatt Date: Sun, 30 Aug 2015 10:27:48 -0600 Subject: [PATCH] cross-built windows installer: make README use CRLF --- distro-build-client/installer-exe.rkt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/distro-build-client/installer-exe.rkt b/distro-build-client/installer-exe.rkt index e436e38..275b24a 100644 --- a/distro-build-client/installer-exe.rkt +++ b/distro-build-client/installer-exe.rkt @@ -425,10 +425,9 @@ SectionEnd (when readme (call-with-output-file* #:exists 'truncate - #:mode 'text (build-path "bundle" "racket" "README.txt") (lambda (o) - (display readme o)))) + (display (regexp-replace* #rx"\n" readme "\r\n") o)))) (nsis-generate exe-path human-name (version)