/[gentoo-x86]/eclass/kernel-2.eclass
Gentoo

Diff of /eclass/kernel-2.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.174 Revision 1.175
1# Copyright 1999-2005 Gentoo Foundation 1# Copyright 1999-2005 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.174 2006/05/04 15:37:35 johnm Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.175 2006/05/05 13:14:29 johnm Exp $
4 4
5# Description: kernel.eclass rewrite for a clean base regarding the 2.6 5# Description: kernel.eclass rewrite for a clean base regarding the 2.6
6# series of kernel with back-compatibility for 2.4 6# series of kernel with back-compatibility for 2.4
7# 7#
8# Maintainer: John Mylchreest <johnm@gentoo.org> 8# Maintainer: John Mylchreest <johnm@gentoo.org>
363} 363}
364 364
365universal_unpack() { 365universal_unpack() {
366 cd ${WORKDIR} 366 cd ${WORKDIR}
367 unpack linux-${OKV}.tar.bz2 367 unpack linux-${OKV}.tar.bz2
368 if [[ -d "linux" ]]; then
369 mv linux linux-${KV_FULL} \
370 || die "Unable to move source tree to ${KV_FULL}."
368 if [[ "${OKV}" != "${KV_FULL}" ]]; then 371 elif [[ "${OKV}" != "${KV_FULL}" ]]; then
369 mv linux-${OKV} linux-${KV_FULL} \ 372 mv linux-${OKV} linux-${KV_FULL} \
370 || die "Unable to move source tree to ${KV_FULL}." 373 || die "Unable to move source tree to ${KV_FULL}."
371 fi 374 fi
372 cd "${S}" 375 cd "${S}"
373 376

Legend:
Removed from v.1.174  
changed lines
  Added in v.1.175

  ViewVC Help
Powered by ViewVC 1.1.20