summaryrefslogtreecommitdiff
path: root/util/mkfiles.pl
diff options
context:
space:
mode:
Diffstat (limited to 'util/mkfiles.pl')
-rwxr-xr-xutil/mkfiles.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/mkfiles.pl b/util/mkfiles.pl
index 4fbe29ac75..55dfbc64e3 100755
--- a/util/mkfiles.pl
+++ b/util/mkfiles.pl
@@ -107,8 +107,8 @@ while (<IN>)
{
$b=$`;
$o.=$b." ";
- $b=<IN>;
- $b =~ s|\R$||;
+ $b = "" unless defined($b = <IN>);
+ $b =~ s{\R$}{};
}
else
{