From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1SFdFm-0001f6-AI for garchives@archives.gentoo.org; Thu, 05 Apr 2012 03:20:54 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A5366E115C; Thu, 5 Apr 2012 03:20:45 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id E603CE115C for ; Thu, 5 Apr 2012 03:20:44 +0000 (UTC) Received: from flycatcher.gentoo.org (flycatcher.gentoo.org [81.93.255.6]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 89A021B401A for ; Thu, 5 Apr 2012 03:20:43 +0000 (UTC) Received: by flycatcher.gentoo.org (Postfix, from userid 559) id 624772004B; Thu, 5 Apr 2012 03:20:42 +0000 (UTC) From: "Mike Frysinger (vapier)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, vapier@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in eclass: unpacker.eclass X-VCS-Repository: gentoo-x86 X-VCS-Files: unpacker.eclass X-VCS-Directories: eclass X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger Content-Type: text/plain; charset=utf8 Message-Id: <20120405032042.624772004B@flycatcher.gentoo.org> Date: Thu, 5 Apr 2012 03:20:42 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 380a91a4-3343-46b4-a5c2-fb1d70cc2452 X-Archives-Hash: f11abd6d1a6be4d2b09af46745611b73 vapier 12/04/05 03:20:42 Modified: unpacker.eclass Log: fix by Christoph Junghans to decompress files into $PWD #408801 Revision Changes Path 1.6 eclass/unpacker.eclass file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/unpacker.ec= lass?rev=3D1.6&view=3Dmarkup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/unpacker.ec= lass?rev=3D1.6&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/unpacker.ec= lass?r1=3D1.5&r2=3D1.6 Index: unpacker.eclass =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /var/cvsroot/gentoo-x86/eclass/unpacker.eclass,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- unpacker.eclass 13 Feb 2012 20:53:34 -0000 1.5 +++ unpacker.eclass 5 Apr 2012 03:20:42 -0000 1.6 @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/unpacker.eclass,v 1.5 2012/02/= 13 20:53:34 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/unpacker.eclass,v 1.6 2012/04/= 05 03:20:42 vapier Exp $ =20 # @ECLASS: unpacker.eclass # @MAINTAINER: @@ -311,7 +311,9 @@ [[ ${arch} !=3D unpack_* ]] && unpack_banner "${a}" =20 if [[ -z ${arch} ]] ; then - ${comp} "${a}" > "${a%.*}" + # Need to decompress the file into $PWD #408801 + local _a=3D${a%.*} + ${comp} "${a}" > "${_a##*/}" elif [[ -z ${comp} ]] ; then ${arch} "${a}" else