mirror of
https://github.com/openssl/openssl.git
synced 2024-12-14 04:24:23 +08:00
Take the first definition of a variable.
This commit is contained in:
parent
d0aeeee176
commit
7bbb8c5620
@ -69,7 +69,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*(.*)$/) {
|
||||
if (/^$mf_opt\s*=\s*(.*)$/ && !defined($$mfref)) {
|
||||
$$mf_ref = $1;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user