summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--eclass/xfree.eclass5
1 files changed, 3 insertions, 2 deletions
diff --git a/eclass/xfree.eclass b/eclass/xfree.eclass
index 9e366e3a313a..4a084a8093e3 100644
--- a/eclass/xfree.eclass
+++ b/eclass/xfree.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/xfree.eclass,v 1.6 2003/09/30 06:08:35 spyderous Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/xfree.eclass,v 1.7 2003/09/30 06:17:49 spyderous Exp $
#
# Author: Seemant Kulleen <seemant@gentoo.org>
#
@@ -32,7 +32,8 @@ get_KV_info() {
check_KV
# Get the kernel version of sources in /usr/src/linux ...
- export KV_full="$(awk '/UTS_RELEASE/ { gsub("\"", "", $3); print $3 }' \ "${ROOT}/usr/src/linux/include/linux/version.h")"
+ export KV_full="$(awk '/UTS_RELEASE/ { gsub("\"", "", $3); print $3 }' \
+ "${ROOT}/usr/src/linux/include/linux/version.h")"
export KV_major="$(echo "${KV_full}" | cut -d. -f1)"
export KV_minor="$(echo "${KV_full}" | cut -d. -f2)"
export KV_micro="$(echo "${KV_full}" | cut -d. -f3 | sed -e 's:[^0-9].*::')"