Commit e0d60d50 authored by Ian Lynagh's avatar Ian Lynagh

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.
parent 9ffa2686
...@@ -60,6 +60,7 @@ for $package (glob "libraries/*/") { ...@@ -60,6 +60,7 @@ for $package (glob "libraries/*/") {
or die "Failed to open $pkgs: $!"; or die "Failed to open $pkgs: $!";
while (<PKGS>) { while (<PKGS>) {
chomp; chomp;
if (/.+/) { if (/.+/) {
push @library_dirs, "$package/$_"; push @library_dirs, "$package/$_";
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment