diff options
author | 2005-03-28 09:27:31 +0000 | |
---|---|---|
committer | 2005-03-28 09:27:31 +0000 | |
commit | b916f2fbe423515925c40da50d0d2300aadf5ebf (patch) | |
tree | ce03055b6abdc26cd2df8ebcdc26f7bd11581d1d | |
parent | Use proper toolchain compiler. (diff) | |
download | historical-b916f2fbe423515925c40da50d0d2300aadf5ebf.tar.gz historical-b916f2fbe423515925c40da50d0d2300aadf5ebf.tar.bz2 historical-b916f2fbe423515925c40da50d0d2300aadf5ebf.zip |
Fixing small bug (#86650) with linux-mod/convert_to_m, thanks to Stefan Schweizer
-rw-r--r-- | eclass/linux-mod.eclass | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/eclass/linux-mod.eclass b/eclass/linux-mod.eclass index f0a5cbbf7b0e..86c9004d6a5a 100644 --- a/eclass/linux-mod.eclass +++ b/eclass/linux-mod.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/linux-mod.eclass,v 1.31 2005/03/11 23:11:05 kingtaco Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/linux-mod.eclass,v 1.32 2005/03/28 09:27:31 johnm Exp $ # Description: This eclass is used to interface with linux-info in such a way # to provide the functionality required and initial functions @@ -106,9 +106,10 @@ use_m() { } convert_to_m() { - [ ! -f "${1}" ] && die "convert_to_m() requires a filename as an argument" if use_m then + [ ! -f "${1}" ] && \ + die "convert_to_m() requires a filename as an argument" ebegin "Converting ${1/${WORKDIR}\//} to use M= instead of SUBDIRS=" sed -i 's:SUBDIRS=:M=:g' ${1} eend $? |