summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Mylchreest <johnm@gentoo.org>2005-01-16 23:53:00 +0000
committerJohn Mylchreest <johnm@gentoo.org>2005-01-16 23:53:00 +0000
commit2351c5ce627730999c383269bdd7b714b65107aa (patch)
tree272267785e1d1d2919a8f3d93696b825b4bff770 /eclass/linux-mod.eclass
parentinitial import (diff)
downloadgentoo-2-2351c5ce627730999c383269bdd7b714b65107aa.tar.gz
gentoo-2-2351c5ce627730999c383269bdd7b714b65107aa.tar.bz2
gentoo-2-2351c5ce627730999c383269bdd7b714b65107aa.zip
unset libdir srcdir objdir since they may contain settings for previous modules.
Diffstat (limited to 'eclass/linux-mod.eclass')
-rw-r--r--eclass/linux-mod.eclass5
1 files changed, 4 insertions, 1 deletions
diff --git a/eclass/linux-mod.eclass b/eclass/linux-mod.eclass
index b8ca027b852f..fc5b9f869f91 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.22 2005/01/16 22:54:56 johnm Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/linux-mod.eclass,v 1.23 2005/01/16 23:53:00 johnm Exp $
# Description: This eclass is used to interface with linux-info in such a way
# to provide the functionality required and initial functions
@@ -243,6 +243,7 @@ display_postinst() {
einfo "please type the following as root:"
for i in ${MODULE_NAMES}
do
+ unset libdir srcdir objdir
for n in $(find_module_params ${i})
do
eval ${n/:*}=${n/*:/}
@@ -316,6 +317,7 @@ linux-mod_src_compile() {
for i in ${MODULE_NAMES}
do
+ unset libdir srcdir objdir
for n in $(find_module_params ${i})
do
eval ${n/:*}=${n/*:/}
@@ -355,6 +357,7 @@ linux-mod_src_install() {
for i in ${MODULE_NAMES}
do
+ unset libdir srcdir objdir
for n in $(find_module_params ${i})
do
eval ${n/:*}=${n/*:/}