public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] portage r15821 - main/trunk/pym/_emerge
@ 2010-03-11 23:35 Zac Medico (zmedico)
  0 siblings, 0 replies; only message in thread
From: Zac Medico (zmedico) @ 2010-03-11 23:35 UTC (permalink / raw
  To: gentoo-commits

Author: zmedico
Date: 2010-03-11 23:35:01 +0000 (Thu, 11 Mar 2010)
New Revision: 15821

Modified:
   main/trunk/pym/_emerge/BinpkgExtractorAsync.py
Log:
Trust tar exit status and ignore bzip2 exit status as in bug #309001.


Modified: main/trunk/pym/_emerge/BinpkgExtractorAsync.py
===================================================================
--- main/trunk/pym/_emerge/BinpkgExtractorAsync.py	2010-03-11 23:27:54 UTC (rev 15820)
+++ main/trunk/pym/_emerge/BinpkgExtractorAsync.py	2010-03-11 23:35:01 UTC (rev 15821)
@@ -14,13 +14,7 @@
 
 	def _start(self):
 		self.args = [self._shell_binary, "-c",
-			("bzip2 -dqc -- %s | tar -xp -C %s -f - ; " + \
-			"p=(${PIPESTATUS[@]}) ; " + \
-			"if [ ${p[0]} != 0 ] ; then " + \
-			"echo bzip2 failed with status ${p[0]} ; exit ${p[0]} ; fi ; " + \
-			"if [ ${p[1]} != 0 ] ; then " + \
-			"echo tar failed with status ${p[1]} ; exit ${p[1]} ; fi ; " + \
-			"exit 0 ;") % \
+			("bzip2 -dqc -- %s | tar -xp -C %s -f -") % \
 			(portage._shell_quote(self.pkg_path),
 			portage._shell_quote(self.image_dir))]
 




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-03-11 23:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-11 23:35 [gentoo-commits] portage r15821 - main/trunk/pym/_emerge Zac Medico (zmedico)

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