Change chop to chomp when reading lines, so CRLF is properly processed on
the operating systems where they are the normal line endings
This commit is contained in:
parent
6e16b45d9d
commit
f4bcd70f27
1 changed files with 2 additions and 2 deletions
|
@ -697,7 +697,7 @@ PROCESS_ARGS:
|
|||
{
|
||||
while (<IN>)
|
||||
{
|
||||
chop;
|
||||
chomp;
|
||||
if (/^CONFIGURE_ARGS=(.*)/)
|
||||
{
|
||||
$argvstring=$1;
|
||||
|
@ -1264,7 +1264,7 @@ print OUT "### Generated automatically from Makefile.org by Configure.\n\n";
|
|||
my $sdirs=0;
|
||||
while (<IN>)
|
||||
{
|
||||
chop;
|
||||
chomp;
|
||||
$sdirs = 1 if /^SDIRS=/;
|
||||
if ($sdirs) {
|
||||
my $dir;
|
||||
|
|
Loading…
Reference in a new issue