diff options
author | Daniel Drake <dsd@gentoo.org> | 2004-11-25 23:05:30 +0000 |
---|---|---|
committer | Daniel Drake <dsd@gentoo.org> | 2004-11-25 23:05:30 +0000 |
commit | c433db5690091f1396e666c1899af5cfd59f755c (patch) | |
tree | 879591090e5072f2cb055fc85da2586f4ce9555c /eclass | |
parent | Fixed digest and broken Manifest. (diff) | |
download | gentoo-2-c433db5690091f1396e666c1899af5cfd59f755c.tar.gz gentoo-2-c433db5690091f1396e666c1899af5cfd59f755c.tar.bz2 gentoo-2-c433db5690091f1396e666c1899af5cfd59f755c.zip |
Set S properly in universal_unpack
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/kernel-2.eclass | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass index 721f17f31cbf..138ab1853037 100644 --- a/eclass/kernel-2.eclass +++ b/eclass/kernel-2.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/kernel-2.eclass,v 1.48 2004/11/25 15:41:06 johnm Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.49 2004/11/25 23:05:30 dsd Exp $ # kernel.eclass rewrite for a clean base regarding the 2.6 series of kernel # with back-compatibility for 2.4 @@ -149,12 +149,12 @@ universal_unpack() { then mv linux-${OKV} linux-${KV} || \ die "Unable to move source tree to ${KV}." - - # since pkg_setup sets S, and then portage resets S we - # need to re-set S= or it wont be correct. - S="${WORKDIR}/linux-${KV}" fi + # since pkg_setup sets S, and then portage resets S we + # need to re-set S= or it wont be correct. + S="${WORKDIR}/linux-${KV}" + cd ${S} # change incorrect install path [ -z "${K_NOFIXINSTALL_PATH}" ] && \ |