/[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.97 Revision 1.98
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.97 2005/02/09 11:23:25 johnm Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.98 2005/02/09 21:07:14 hollow 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>
157} 157}
158 158
159universal_unpack() { 159universal_unpack() {
160 cd ${WORKDIR} 160 cd ${WORKDIR}
161 unpack linux-${OKV}.tar.bz2 161 unpack linux-${OKV}.tar.bz2
162 [[ ${OKV} != ${KV_FULL} ]] && mv linux-${OKV} linux-${KV_FULL} \ 162 if [[ "${OKV}" != "${KV_FULL}" ]]; then
163 mv linux-${OKV} linux-${KV_FULL} \
163 || die "Unable to move source tree to ${KV_FULL}." 164 || die "Unable to move source tree to ${KV_FULL}."
165 fi
164 cd ${S} 166 cd ${S}
165 167
166 # change incorrect install path 168 # change incorrect install path
167 sed -ie 's:#export\tINSTALL_PATH:export\tINSTALL_PATH:' Makefile 169 sed -ie 's:#export\tINSTALL_PATH:export\tINSTALL_PATH:' Makefile
168 170

Legend:
Removed from v.1.97  
changed lines
  Added in v.1.98

  ViewVC Help
Powered by ViewVC 1.1.20