Correctly sort mixed versions vX.Y and X.Y in update-deps script

This commit is contained in:
Paweł Chmielowski 2020-12-18 16:42:41 +01:00
parent 2f3063def6
commit 9c221848d7
1 changed files with 1 additions and 1 deletions

View File

@ -204,7 +204,7 @@ sub cmp_ver {
return 1 if $ap > $bp;
return - 1;
} else {
next if $ap eq $bp;
next if $ap eq $bp or $ap eq "" or $bp eq "";
return 1 if $ap gt $bp;
return - 1;
}