mirror of
https://github.com/processone/ejabberd.git
synced 2025-01-03 18:02:28 +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 if $ap > $bp;
|
||||||
return - 1;
|
return - 1;
|
||||||
} else {
|
} 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 if $ap gt $bp;
|
||||||
return - 1;
|
return - 1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user