Better fix
This commit is contained in:
parent
2ad5c3eb33
commit
ea28d7e78d
@ -108,7 +108,7 @@ KV_to_int() {
|
||||
local KV_MAJOR=${x%%.*}
|
||||
x=${x#*.}
|
||||
local KV_MINOR=${x%%.*}
|
||||
x=${1#*.*.}
|
||||
x=${x#*.}
|
||||
local KV_MICRO=${x%%.*}
|
||||
local KV_int=$((${KV_MAJOR} * 65536 + ${KV_MINOR} * 256 + ${KV_MICRO} ))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user