/[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.41 Revision 1.42
1# Copyright 1999-2004 Gentoo Foundation 1# Copyright 1999-2004 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.41 2004/08/22 11:38:02 johnm Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.42 2004/08/25 20:44:54 johnm Exp $
4 4
5# kernel.eclass rewrite for a clean base regarding the 2.6 series of kernel 5# kernel.eclass rewrite for a clean base regarding the 2.6 series of kernel
6# with back-compatibility for 2.4 6# with back-compatibility for 2.4
7# 7#
8# Author: John Mylchreest <johnm@gentoo.org> 8# Author: John Mylchreest <johnm@gentoo.org>
485 fi 485 fi
486 done 486 done
487 done 487 done
488 488
489 # and now, finally, we patch it :) 489 # and now, finally, we patch it :)
490 LC_ALL="C"
490 for x in ${KPATCH_DIR} 491 for x in ${KPATCH_DIR}
491 do 492 do
492 for i in $(find ${x} -maxdepth 1 -iregex ".*\.patch[0-9]*" -or -iname "*.diff" | sort -n) 493 for i in $(find ${x} -maxdepth 1 -iregex ".*\.patch[0-9]*" -or -iname "*.diff" | sort -n)
493 do 494 do
494 STDERR_T="${T}/${i/*\//}" 495 STDERR_T="${T}/${i/*\//}"
532 eerror "Please attach ${STDERR_T} to any bug you may post." 533 eerror "Please attach ${STDERR_T} to any bug you may post."
533 die "Unable to dry-run patch." 534 die "Unable to dry-run patch."
534 fi 535 fi
535 done 536 done
536 done 537 done
538 unset LC_ALL
537} 539}
538 540
539# custom functions 541# custom functions
540#============================================================== 542#==============================================================
541detect_version() { 543detect_version() {

Legend:
Removed from v.1.41  
changed lines
  Added in v.1.42

  ViewVC Help
Powered by ViewVC 1.1.20