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:
Richard Levitte 2006-04-03 09:15:15 +00:00
parent 362ab3e4f9
commit 67475a7ed7
1 changed files with 2 additions and 2 deletions

View File

@ -698,7 +698,7 @@ PROCESS_ARGS:
{
while (<IN>)
{
chop;
chomp;
if (/^CONFIGURE_ARGS=(.*)/)
{
$argvstring=$1;
@ -1280,7 +1280,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;