mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-22 17:28:25 +01:00
Correctly sort mixed versions vX.Y and X.Y in update-deps script
This commit is contained in:
parent
2f3063def6
commit
9c221848d7
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user