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 |