aboutsummaryrefslogtreecommitdiffstats
path: root/util/mkfiles.pl
diff options
context:
space:
mode:
Diffstat (limited to 'util/mkfiles.pl')
-rwxr-xr-xutil/mkfiles.pl6
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
{