mirror of
https://github.com/processone/ejabberd
synced 2025-10-03 09:49:18 +02:00
Correctly sort mixed versions vX.Y and X.Y in update-deps script
This commit is contained in:
parent
2f3063def6
commit
9c221848d7
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue