summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Wendel <lanius@gentoo.org>2003-12-07 13:29:45 +0000
committerHeinrich Wendel <lanius@gentoo.org>2003-12-07 13:29:45 +0000
commit42a200a321c91e2466c3e77b94c377ff2ac8cc15 (patch)
treebbf745069cfa328d8e6bf8121e10d259f41f42ba /eclass/kernel-mod.eclass
parentwon't compile with -O3 (diff)
downloadgentoo-2-42a200a321c91e2466c3e77b94c377ff2ac8cc15.tar.gz
gentoo-2-42a200a321c91e2466c3e77b94c377ff2ac8cc15.tar.bz2
gentoo-2-42a200a321c91e2466c3e77b94c377ff2ac8cc15.zip
fix for latest coreutils (ls has different default behaviour)
Diffstat (limited to 'eclass/kernel-mod.eclass')
-rw-r--r--eclass/kernel-mod.eclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/kernel-mod.eclass b/eclass/kernel-mod.eclass
index 1dbf06198df4..67781e8c4e7e 100644
--- a/eclass/kernel-mod.eclass
+++ b/eclass/kernel-mod.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/kernel-mod.eclass,v 1.6 2003/10/22 20:53:20 lanius Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-mod.eclass,v 1.7 2003/12/07 13:29:45 lanius Exp $
# This eclass provides help for compiling external kernel modules from
# source.
@@ -31,10 +31,10 @@ kernel-mod_getversion ()
if [ -h ${KERNEL_DIR} ] ; then
einfo "${KERNEL_DIR} is a symbolic link"
einfo "Determining the real directory of the Linux kernel source code"
- KV_DIR="`ls -ld ${KERNEL_DIR} | awk '{ print $11 }'`"
+ KV_DIR="`ls -ld --full-time ${KERNEL_DIR} | awk '{ print $11 }'`"
elif [ -d ${KERNEL_DIR} ] ; then
einfo "${KERNEL_DIR} is a real directory"
- KV_DIR="`ls -ld ${KERNEL_DIR} | awk '{ print $9 }'`"
+ KV_DIR="`ls -ld --full-time ${KERNEL_DIR} | awk '{ print $9 }'`"
else
eerror "Directory '${KERNEL_DIR}' cannot be found"
die