From e0d60d5082245be017002ce1b3fbdf1fe11f98e2 Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Fri, 8 Apr 2011 12:47:23 +0100 Subject: [PATCH] Handle '\r's in boot-pkgs files By default, git will clone in autocrlf mode, which on Windows means we get '\r's added to the ghc-packages files. --- boot-pkgs | 1 + 1 file changed, 1 insertion(+) diff --git a/boot-pkgs b/boot-pkgs index 6acea11..de3008c 100644 --- a/boot-pkgs +++ b/boot-pkgs @@ -60,6 +60,7 @@ for $package (glob "libraries/*/") { or die "Failed to open $pkgs: $!"; while () { chomp; + s/\r//g; if (/.+/) { push @library_dirs, "$package/$_"; } -- 1.7.10.4