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
commit374089e25e346b32b7c1e6ce31df87d42da61764 (patch)
tree29648d4cd3b1af6a10e5746e35589d91817fa057 /eclass/linux-mod.eclass
parentinitial import (diff)
downloadhistorical-374089e25e346b32b7c1e6ce31df87d42da61764.tar.gz
historical-374089e25e346b32b7c1e6ce31df87d42da61764.tar.bz2
historical-374089e25e346b32b7c1e6ce31df87d42da61764.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/*:/}