Change chop to chomp when reading lines, so CRLF is properly processed on
authorRichard Levitte <levitte@openssl.org>
Mon, 3 Apr 2006 09:15:15 +0000 (09:15 +0000)
committerRichard Levitte <levitte@openssl.org>
Mon, 3 Apr 2006 09:15:15 +0000 (09:15 +0000)
the operating systems where they are the normal line endings

Configure

index 621092b8fbcf53a5ac2038c4bf290c7e530f6bbd..e4124c4c243b3dd0e180930db116124b59baa94e 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -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;