From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-dev-return-5267-arch-gentoo-dev=gentoo.org@gentoo.org>
Received: (qmail 11344 invoked by uid 1002); 4 Aug 2003 22:31:15 -0000
Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm
Precedence: bulk
List-Post: <mailto:gentoo-dev@gentoo.org>
List-Help: <mailto:gentoo-dev-help@gentoo.org>
List-Unsubscribe: <mailto:gentoo-dev-unsubscribe@gentoo.org>
List-Subscribe: <mailto:gentoo-dev-subscribe@gentoo.org>
List-Id: Gentoo Linux mail <gentoo-dev.gentoo.org>
X-BeenThere: gentoo-dev@gentoo.org
Received: (qmail 14087 invoked from network); 4 Aug 2003 22:31:15 -0000
Date: Mon, 4 Aug 2003 17:31:14 -0500
From: splite-gentoo@sigint.cs.purdue.edu
To: gentoo-dev@gentoo.org
Message-ID: <20030804173114.C20555@sigint.cs.purdue.edu>
References: <20030804160301.713ebda7.jani@iv.ro> <200308041552.59383.vapier@gentoo.org> <20030804152856.B20555@sigint.cs.purdue.edu> <200308041816.00784.vapier@gentoo.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <200308041816.00784.vapier@gentoo.org>; from vapier@gentoo.org on Mon, Aug 04, 2003 at 06:15:50PM -0400
X-Disclaimer: Any similarity to an opinion of Purdue is purely coincidental
Subject: Re: [gentoo-dev] emerge harmless buglet?
X-Archives-Salt: 7e836e73-dda1-44e7-8963-f542b218ad03
X-Archives-Hash: 6c76e66f9c8cd922b545538d6b64596e

On Mon, Aug 04, 2003 at 06:15:50PM -0400, Mike Frysinger wrote:
Content-Description: signed data
>
> anyone have thoughts on how to handle this as intended ?
> 
> the ugly hack that i produced (as can be found in unpack_makeself() in 
> eutils.eclass) is something like this:
> out="`bzcat t.tbz2 | tar xf - 2>1`"
> [ ! -z "${out}" ] && echo "oh no i failed"

Also a bit ugly, but one could do:

{ bzcat t.tbz2 || echo "bzcat failed" >&2; } | tar xf - || echo "tar failed" >&2

--
gentoo-dev@gentoo.org mailing list