diff options
author | John Mylchreest <johnm@gentoo.org> | 2004-12-10 23:17:11 +0000 |
---|---|---|
committer | John Mylchreest <johnm@gentoo.org> | 2004-12-10 23:17:11 +0000 |
commit | 7c930412a3c549aa27324e3eb0db09a6ec8fc13b (patch) | |
tree | a1e3b82d4f50f9144fdea0849f3a518a355e15c3 /eclass | |
parent | Stable on alpha. (Manifest recommit) (diff) | |
download | gentoo-2-7c930412a3c549aa27324e3eb0db09a6ec8fc13b.tar.gz gentoo-2-7c930412a3c549aa27324e3eb0db09a6ec8fc13b.tar.bz2 gentoo-2-7c930412a3c549aa27324e3eb0db09a6ec8fc13b.zip |
Fixes bug #65593
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/fixheadtails.eclass | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/eclass/fixheadtails.eclass b/eclass/fixheadtails.eclass index c16116d65dbc..b2825124aac8 100644 --- a/eclass/fixheadtails.eclass +++ b/eclass/fixheadtails.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/fixheadtails.eclass,v 1.3 2004/06/25 00:39:48 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/fixheadtails.eclass,v 1.4 2004/12/10 23:17:11 johnm Exp $ # # Author John Mylchreest <johnm@gentoo.org> @@ -19,6 +19,7 @@ DEPEND="${DEPEND} >=sys-apps/sed-4" do_sed_fix() { sed -i \ -e 's/head -\(.*\)/head -n \1/' \ + -e 's/tail \([-+]\)\(.*\)c/tail -c \1\2/' \ -e 's/tail \([-+]\)\(.*\)/tail -n \1\2/' ${1} || \ die "sed ${1} failed" } |