diff options
author | Roy Marples <roy@marples.name> | 2007-05-05 21:22:46 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2007-05-05 21:22:46 +0000 |
commit | ea28d7e78d5155b46bf76b3e95109666db0ef0ba (patch) | |
tree | f09ae228d2c838c26a6ba4dbbd36ad2000c36c49 /sh/functions.sh | |
parent | 2ad5c3eb33b926d49014aa8cc2ac596506f570e6 (diff) |
Better fix
Diffstat (limited to 'sh/functions.sh')
-rw-r--r-- | sh/functions.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sh/functions.sh b/sh/functions.sh index cfd8b005..9b0da2d0 100644 --- a/sh/functions.sh +++ b/sh/functions.sh @@ -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} )) |