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:
@@ -807,7 +807,7 @@ PROCESS_ARGS:
|
|||||||
{
|
{
|
||||||
while (<IN>)
|
while (<IN>)
|
||||||
{
|
{
|
||||||
chop;
|
chomp;
|
||||||
if (/^CONFIGURE_ARGS=(.*)/)
|
if (/^CONFIGURE_ARGS=(.*)/)
|
||||||
{
|
{
|
||||||
$argvstring=$1;
|
$argvstring=$1;
|
||||||
@@ -1290,7 +1290,7 @@ print OUT "### Generated automatically from Makefile.org by Configure.\n\n";
|
|||||||
my $sdirs=0;
|
my $sdirs=0;
|
||||||
while (<IN>)
|
while (<IN>)
|
||||||
{
|
{
|
||||||
chop;
|
chomp;
|
||||||
$sdirs = 1 if /^SDIRS=/;
|
$sdirs = 1 if /^SDIRS=/;
|
||||||
if ($sdirs) {
|
if ($sdirs) {
|
||||||
my $dir;
|
my $dir;
|
||||||
|
|||||||
Reference in New Issue
Block a user