Fix some issues near recent chomp changes.

Reviewed-by: Richard Levitte <levitte@openssl.org>
This commit is contained in:
Viktor Dukhovni
2016-02-13 02:53:13 -05:00
parent e314c34073
commit ce3d25d3e5
5 changed files with 12 additions and 10 deletions

View File

@@ -25,8 +25,8 @@ while (<>)
{
$b=$`; # Keep what is before the backslash
$o.=$b." ";
$b=<>;
$b =~ s|\R$||; # Better chomp
$b = "" unless defined($b = <>);
$b =~ s{\R$}{};
}
else
{
@@ -43,7 +43,7 @@ while (<>)
}
}
$pwd=`pwd`; $pwd =~ s|\R$||;
($pwd=`pwd`) =~ s{\R$}{};
if ($sym{'TOP'} eq ".")
{