From 29cafc46d981f81562570ce894f48e4c28c55603 Mon Sep 17 00:00:00 2001 From: Alastair Tse Date: Sat, 25 Jun 2005 15:58:55 +0000 Subject: remove WORKDIR restriction on rpm_unpack (#50291) --- eclass/rpm.eclass | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'eclass/rpm.eclass') diff --git a/eclass/rpm.eclass b/eclass/rpm.eclass index 6d3ef6da10f9..b49249723f7e 100644 --- a/eclass/rpm.eclass +++ b/eclass/rpm.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/rpm.eclass,v 1.10 2004/06/25 00:39:48 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/rpm.eclass,v 1.11 2005/06/25 15:58:55 liquidx Exp $ # Author : Alastair Tse (21 Jun 2003) # @@ -42,8 +42,6 @@ rpm_unpack() { if [ -z "${rpmfile}" ]; then return 1 fi - - cd ${WORKDIR} if [ -x /usr/bin/rpm2cpio -a -z "${USE_RPMOFFSET_ONLY}" ]; then rpm2cpio ${rpmfile} | cpio -idmu --no-preserve-owner --quiet || return 1 else -- cgit v1.2.3-65-gdbad