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

Diff of /eclass/eutils.eclass

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

Revision 1.27 Revision 1.28
1# Copyright 1999-2003 Gentoo Technologies, Inc. 1# Copyright 1999-2003 Gentoo Technologies, Inc.
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.27 2003/03/10 08:49:05 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.28 2003/03/10 09:32:34 vapier 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.
621# vapier@gentoo.org 621# vapier@gentoo.org
622# 622#
623# edos2unix(file, <more files>...) 623# edos2unix(file, <more files>...)
624edos2unix() { 624edos2unix() {
625 for f in $@ ; do 625 for f in $@ ; do
626 cp ${f} ${T}/ 626 cp ${f} ${T}/edos2unix
627 sed 's/\r$//' ${T}/${f} > ${f} 627 sed 's/\r$//' ${T}/edos2unix > ${f}
628 done 628 done
629} 629}

Legend:
Removed from v.1.27  
changed lines
  Added in v.1.28

  ViewVC Help
Powered by ViewVC 1.1.20