From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2138 invoked by uid 1002); 5 Aug 2003 02:55:13 -0000 Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Received: (qmail 9996 invoked from network); 5 Aug 2003 02:55:13 -0000 Date: Mon, 4 Aug 2003 22:55:12 -0400 From: Aron Griffis To: gentoo-dev@gentoo.org Message-ID: <20030805025512.GB21530@time> Mail-Followup-To: gentoo-dev@gentoo.org References: <20030804160301.713ebda7.jani@iv.ro> <200308041843.49826.vapier@gentoo.org> <20030805020722.GA19794@time> <200308042211.11581.vapier@gentoo.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="gKMricLos+KVdGMg" Content-Disposition: inline In-Reply-To: <200308042211.11581.vapier@gentoo.org> User-Agent: Mutt/1.5.4i Subject: Re: [gentoo-dev] emerge harmless buglet? X-Archives-Salt: 3870eb53-962c-470c-96d1-b5226419874a X-Archives-Hash: d079f92d8f0f8a5163e70b7a295d0e44 --gKMricLos+KVdGMg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Vapier wrote: [Mon Aug 04 2003, 10:11:05PM EDT] > put it together and file a bug or send it to me and ill handle it from > there Here's the entire patch. Aron --gKMricLos+KVdGMg Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="ebuild.sh.patch" --- /usr/lib/portage/bin/ebuild.sh 2003-07-27 22:35:02.000000000 -0400 +++ ebuild.sh 2003-08-04 22:52:57.000000000 -0400 @@ -50,7 +50,7 @@ # It _must_ preceed all the calls to die and assert. shopt -s expand_aliases alias die='diefunc "$FUNCNAME" "$LINENO" "$?"' -alias assert='_retval=$?; [ $_retval = 0 ] || diefunc "$FUNCNAME" "$LINENO" "$_retval"' +alias assert='_pipestatus="${PIPESTATUS[*]}"; [[ "${_pipestatus// /}" -eq 0 ]] || diefunc "$FUNCNAME" "$LINENO" "$_pipestatus"' OCC="$CC" OCXX="$CXX" --gKMricLos+KVdGMg Content-Type: text/plain; charset=us-ascii -- gentoo-dev@gentoo.org mailing list --gKMricLos+KVdGMg--