Set S properly in universal_unpack
authorDaniel Drake <dsd@gentoo.org>
Thu, 25 Nov 2004 23:05:30 +0000 (23:05 +0000)
committerDaniel Drake <dsd@gentoo.org>
Thu, 25 Nov 2004 23:05:30 +0000 (23:05 +0000)
eclass/kernel-2.eclass

index 721f17f31cbf760823a407cfc4d4a2eaf03b277d..138ab1853037d80e237d4d83d60127599c0b00ad 100644 (file)
@@ -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}" ] && \