Gentoo Archives: gentoo-dev

From: splite-gentoo@××××××××××××××××.edu
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] emerge harmless buglet?
Date: Mon, 04 Aug 2003 22:31:15
Message-Id: 20030804173114.C20555@sigint.cs.purdue.edu
In Reply to: Re: [gentoo-dev] emerge harmless buglet? by Mike Frysinger
1 On Mon, Aug 04, 2003 at 06:15:50PM -0400, Mike Frysinger wrote:
2 Content-Description: signed data
3 >
4 > anyone have thoughts on how to handle this as intended ?
5 >
6 > the ugly hack that i produced (as can be found in unpack_makeself() in
7 > eutils.eclass) is something like this:
8 > out="`bzcat t.tbz2 | tar xf - 2>1`"
9 > [ ! -z "${out}" ] && echo "oh no i failed"
10
11 Also a bit ugly, but one could do:
12
13 { bzcat t.tbz2 || echo "bzcat failed" >&2; } | tar xf - || echo "tar failed" >&2
14
15 --
16 gentoo-dev@g.o mailing list