From ca2aec7b3cbc2d261b2f9497d70df5cecdd09c49 Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Thu, 27 Nov 2008 11:26:07 +0200 Subject: [PATCH] linux26: changed to calculate treever using $ver instead of $pkg --- base/linux26/linux-conf.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/linux26/linux-conf.in b/base/linux26/linux-conf.in index cf2084567..fdf27b001 100644 --- a/base/linux26/linux-conf.in +++ b/base/linux26/linux-conf.in @@ -14,7 +14,7 @@ # GNU General Public License can be found in the file COPYING. # --- SDE-COPYRIGHT-NOTE-END --- -treever=${pkg/linux/} ; treever=${treever/-*/} +treever=$(echo $ver | cut -d. -f1-2 | tr -d .) [ "$lx_cpu" ] || # powerpc and mips share the same arch for 32/64, maybe more follow