summaryrefslogtreecommitdiff
path: root/deps/openssl/openssl/util/mk1mf.pl
diff options
context:
space:
mode:
Diffstat (limited to 'deps/openssl/openssl/util/mk1mf.pl')
-rwxr-xr-xdeps/openssl/openssl/util/mk1mf.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/openssl/openssl/util/mk1mf.pl b/deps/openssl/openssl/util/mk1mf.pl
index 4ec01649bf..9b8abc0cf1 100755
--- a/deps/openssl/openssl/util/mk1mf.pl
+++ b/deps/openssl/openssl/util/mk1mf.pl
@@ -59,7 +59,7 @@ open(IN,"<Makefile") || die "unable to open Makefile!\n";
while(<IN>) {
my ($mf_opt, $mf_ref);
while (($mf_opt, $mf_ref) = each %mf_import) {
- if (/^$mf_opt\s*=\s*(.*)$/ && !defined($$mfref)) {
+ if (/^$mf_opt\s*=\s*(.*)$/ && !defined($$mfref)) {
$$mf_ref = $1;
}
}
@@ -340,7 +340,7 @@ open(IN,"<$infile") || die "unable to open $infile:$!\n";
$_=<IN>;
for (;;)
{
- chop;
+ s/\s*$//; # was chop, didn't work in mixture of perls for Windows...
($key,$val)=/^([^=]+)=(.*)/;
if ($key eq "RELATIVE_DIRECTORY")