Devadatta Sahoo 2023-06-23 06:28:40 +05:30 committed by GitHub
parent 944400a136
commit dedfaa49ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -820,7 +820,7 @@ ${$_[0]} = $out if ($_[0]);
if ($out =~ /lib\S+\.so/) {
return -1;
}
elsif ($out =~ /(distrib|Ver)\s+((3|4|5|6|7|8|9|10)\.[0-9\.]*(\-[a-z0-9]+)?)/i) {
elsif ($out =~ /(distrib|Ver|from)\s+((3|4|5|6|7|8|9|10|11)\.[0-9\.]*(\-[a-z0-9]+)?)/i) {
return $2;
}
else {