diff options
author | Heinrich Wendel <lanius@gentoo.org> | 2003-12-07 13:29:45 +0000 |
---|---|---|
committer | Heinrich Wendel <lanius@gentoo.org> | 2003-12-07 13:29:45 +0000 |
commit | 3f2f9c1db072eed5842f24013a34846855f57e0b (patch) | |
tree | 4ef15cf7aebd0250e9766d2d468921935e2c8dab /eclass/kernel-mod.eclass | |
parent | won't compile with -O3 (diff) | |
download | historical-3f2f9c1db072eed5842f24013a34846855f57e0b.tar.gz historical-3f2f9c1db072eed5842f24013a34846855f57e0b.tar.bz2 historical-3f2f9c1db072eed5842f24013a34846855f57e0b.zip |
fix for latest coreutils (ls has different default behaviour)
Diffstat (limited to 'eclass/kernel-mod.eclass')
-rw-r--r-- | eclass/kernel-mod.eclass | 6 |
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 |