public inbox for gentoo-portage-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-portage-dev] PATCH: if doing a piped call in unpack, check pipestatus
@ 2005-08-09 11:28 Brian Harring
  2005-09-01 14:12 ` Jason Stubbs
  0 siblings, 1 reply; 3+ messages in thread
From: Brian Harring @ 2005-08-09 11:28 UTC (permalink / raw
  To: gentoo-portage-dev


[-- Attachment #1.1: Type: text/plain, Size: 98 bytes --]

Hola.
Bug 101035 
http://bugs.gentoo.org/show_bug.cgi?id=101035

InCVS now also...
~harring

[-- Attachment #1.2: ebuild-pipe-fix.patch --]
[-- Type: text/plain, Size: 943 bytes --]

Index: ebuild.sh
===================================================================
RCS file: /var/cvsroot/gentoo-src/portage/bin/ebuild.sh,v
retrieving revision 1.201.2.39
diff -u -r1.201.2.39 ebuild.sh
--- ebuild.sh	7 Aug 2005 04:33:45 -0000	1.201.2.39
+++ ebuild.sh	9 Aug 2005 11:21:01 -0000
@@ -363,7 +363,8 @@
 				tar xzf "${DISTDIR}/${x}" ${tarvars} || die "$myfail"
 				;;
 			tbz2)
-				bzip2 -dc "${DISTDIR}/${x}" | tar xf - ${tarvars} || die "$myfail"
+				bzip2 -dc "${DISTDIR}/${x}" | tar xf - ${tarvars}
+				assert "$myfail"
 				;;
 			ZIP|zip)
 				unzip -qo "${DISTDIR}/${x}" || die "$myfail"
@@ -377,7 +378,8 @@
 				;;
 			bz2)
 				if [ "${y}" == "tar" ]; then
-					bzip2 -dc "${DISTDIR}/${x}" | tar xf - ${tarvars} || die "$myfail"
+					bzip2 -dc "${DISTDIR}/${x}" | tar xf - ${tarvars} 
+					assert "$myfail"
 				else
 					bzip2 -dc "${DISTDIR}/${x}" > ${x%.*} || die "$myfail"
 				fi

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-portage-dev] PATCH: if doing a piped call in unpack, check pipestatus
  2005-08-09 11:28 [gentoo-portage-dev] PATCH: if doing a piped call in unpack, check pipestatus Brian Harring
@ 2005-09-01 14:12 ` Jason Stubbs
  2005-09-01 17:46   ` Brian Harring
  0 siblings, 1 reply; 3+ messages in thread
From: Jason Stubbs @ 2005-09-01 14:12 UTC (permalink / raw
  To: gentoo-portage-dev

[-- Attachment #1: Type: text/plain, Size: 240 bytes --]

On Tuesday 09 August 2005 20:28, Brian Harring wrote:
> Hola.
> Bug 101035
> http://bugs.gentoo.org/show_bug.cgi?id=101035
>
> InCVS now also...

I can't find this code in stable at all. Is this something else?

-- 
Jason Stubbs

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-portage-dev] PATCH: if doing a piped call in unpack, check pipestatus
  2005-09-01 14:12 ` Jason Stubbs
@ 2005-09-01 17:46   ` Brian Harring
  0 siblings, 0 replies; 3+ messages in thread
From: Brian Harring @ 2005-09-01 17:46 UTC (permalink / raw
  To: gentoo-portage-dev

[-- Attachment #1: Type: text/plain, Size: 402 bytes --]

On Thu, Sep 01, 2005 at 11:12:02PM +0900, Jason Stubbs wrote:
> On Tuesday 09 August 2005 20:28, Brian Harring wrote:
> > Hola.
> > Bug 101035
> > http://bugs.gentoo.org/show_bug.cgi?id=101035
> >
> > InCVS now also...
> 
> I can't find this code in stable at all. Is this something else?
Twas in stable, then somebody removed unpack from stable's ebuild.sh; 
I'll tag it back in.
~harring

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-09-01 17:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-09 11:28 [gentoo-portage-dev] PATCH: if doing a piped call in unpack, check pipestatus Brian Harring
2005-09-01 14:12 ` Jason Stubbs
2005-09-01 17:46   ` Brian Harring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox