/[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.283 Revision 1.284
1# Copyright 1999-2013 Gentoo Foundation 1# Copyright 1999-2013 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.283 2013/04/17 20:59:24 tomwij Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.284 2013/04/29 22:14:23 tomwij 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# Original author: John Mylchreest <johnm@gentoo.org> 8# Original author: John Mylchreest <johnm@gentoo.org>
740 > "${S}"/patches.txt 740 > "${S}"/patches.txt
741 fi 741 fi
742 742
743 mv ${WORKDIR}/linux* "${D}"/usr/src 743 mv ${WORKDIR}/linux* "${D}"/usr/src
744 744
745 if [[ -z ${UNIPATCH_DOCS} ]] ; then 745 if [[ -n "${UNIPATCH_DOCS}" ]] ; then
746 dodoc ${UNIPATCH_DOCS} 746 for i in ${UNIPATCH_DOCS}; do
747 dodoc "${T}"/${i}
748 done
747 fi 749 fi
748} 750}
749 751
750# pkg_preinst functions 752# pkg_preinst functions
751#============================================================== 753#==============================================================
1038 # them during the install phase. 1040 # them during the install phase.
1039 local tmp 1041 local tmp
1040 for x in ${KPATCH_DIR}; do 1042 for x in ${KPATCH_DIR}; do
1041 for i in ${UNIPATCH_DOCS}; do 1043 for i in ${UNIPATCH_DOCS}; do
1042 if [[ -f "${x}/${i}" ]] ; then 1044 if [[ -f "${x}/${i}" ]] ; then
1043 tmp="${tmp} \"${T}/${i}\"" 1045 tmp="${tmp} ${i}"
1044 cp -f "${x}/${i}" "${T}"/ 1046 cp -f "${x}/${i}" "${T}"/
1045 fi 1047 fi
1046 done 1048 done
1047 done 1049 done
1048 UNIPATCH_DOCS="${tmp}" 1050 UNIPATCH_DOCS="${tmp}"

Legend:
Removed from v.1.283  
changed lines
  Added in v.1.284

  ViewVC Help
Powered by ViewVC 1.1.20