diff options
Diffstat (limited to 'util/mkfiles.pl')
-rwxr-xr-x | util/mkfiles.pl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/util/mkfiles.pl b/util/mkfiles.pl index d668316d69..4fbe29ac75 100755 --- a/util/mkfiles.pl +++ b/util/mkfiles.pl @@ -95,7 +95,7 @@ my $s=""; while (<IN>) { - chop; + s|\R$||; s/#.*//; if (/^([^\s=]+)\s*=\s*(.*)$/) { @@ -105,10 +105,10 @@ while (<IN>) { if ($b =~ /\\$/) { - chop($b); + $b=$`; $o.=$b." "; $b=<IN>; - chop($b); + $b =~ s|\R$||; } else { |