From ea28d7e78d5155b46bf76b3e95109666db0ef0ba Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Sat, 5 May 2007 21:22:46 +0000 Subject: Better fix --- sh/functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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} )) -- cgit v1.2.3