The option line may start with a space, which gives an empty option.
authorRichard Levitte <levitte@openssl.org>
Sun, 31 Dec 2000 01:54:18 +0000 (01:54 +0000)
committerRichard Levitte <levitte@openssl.org>
Sun, 31 Dec 2000 01:54:18 +0000 (01:54 +0000)
Make sure those are purged...

util/mk1mf.pl

index 0db416a6d4a0c09a82b07b5fe82a8caa240b3443..ff0dbecc455df47f16b559a5deb9a4b68bff7e3e 100755 (executable)
@@ -81,7 +81,7 @@ EOF
                }
        $platform=$_;
        }
                }
        $platform=$_;
        }
-foreach (split / /, $OPTIONS)
+foreach (grep(!/^$/, split(/ /, $OPTIONS)))
        {
        print STDERR "unknown option - $_\n" if !&read_options;
        }
        {
        print STDERR "unknown option - $_\n" if !&read_options;
        }