/[gentoo-x86]/eclass/eutils.eclass
Gentoo

Diff of /eclass/eutils.eclass

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

Revision 1.210 Revision 1.211
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/eutils.eclass,v 1.210 2005/10/20 00:13:20 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.211 2005/10/21 18:24:23 wolf31o2 Exp $
4# 4#
5# Author: Martin Schlemmer <azarah@gentoo.org> 5# Author: Martin Schlemmer <azarah@gentoo.org>
6# 6#
7# This eclass is for general purpose functions that most ebuilds 7# This eclass is for general purpose functions that most ebuilds
8# have to implement themselves. 8# have to implement themselves.
1116 ;; 1116 ;;
1117 2.1.3) 1117 2.1.3)
1118 skip=`grep -a ^offset= "${src}" | awk '{print $3}'` 1118 skip=`grep -a ^offset= "${src}" | awk '{print $3}'`
1119 let skip="skip + 1" 1119 let skip="skip + 1"
1120 ;; 1120 ;;
1121 2.1.4) 1121 2.1.4|2.1.5)
1122 skip=$(grep -a offset=.*head.*wc "${src}" | awk '{print $3}' | head -n 1) 1122 skip=$(grep -a offset=.*head.*wc "${src}" | awk '{print $3}' | head -n 1)
1123 skip=$(head -n ${skip} "${src}" | wc -c) 1123 skip=$(head -n ${skip} "${src}" | wc -c)
1124 exe="dd" 1124 exe="dd"
1125 ;; 1125 ;;
1126 *) 1126 *)

Legend:
Removed from v.1.210  
changed lines
  Added in v.1.211

  ViewVC Help
Powered by ViewVC 1.1.20