Commit 2b3496f4 authored by James Zern's avatar James Zern Committed by Tom Finegan
Browse files tolerate mixed output line endings

strip the default eol from the config header line, then a '\r' if there
is one. this can occur if cmake used to output the header uses windows
eol, but the perl used expects newlines for instance.

Change-Id: I687415878b1a04fd94b12d7b3d3066f448630607
parent d90eefeb
......@@ -51,6 +51,7 @@ my %config = ();
while (<CONFIG_FILE>) {
next if !/^(?:CONFIG_|HAVE_)/;
my @pair = split /=/;
$config{$pair[0]} = $pair[1];
Supports Markdown
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