diff --git a/base/linux/linux-conf.in b/base/linux/linux-conf.in index 6193104ab..1105126b3 100644 --- a/base/linux/linux-conf.in +++ b/base/linux/linux-conf.in @@ -2,7 +2,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../linux/linux-conf.in -# Copyright (C) 2006 - 2011 The OpenSDE Project +# Copyright (C) 2006 - 2012 The OpenSDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project # Copyright (C) 1998 - 2003 Clifford Wolf # @@ -18,7 +18,7 @@ treever=$(echo $ver | cut -d. -f1-2 | tr -d .) lx_confdir=$(pkgdesc confdir linux) lx_ver=0 -for x in $(echo "$ver" | cut -d. -f1-3 | tr '.' ' '); do +for x in $(echo "$ver" | cut -d- -f1 | cut -d. -f1-3 | tr '.' ' '); do lx_ver=$( expr $lx_ver \* 1000 + $x ) done