diff options
author | Alastair Tse <liquidx@gentoo.org> | 2005-06-25 15:58:55 +0000 |
---|---|---|
committer | Alastair Tse <liquidx@gentoo.org> | 2005-06-25 15:58:55 +0000 |
commit | 29cafc46d981f81562570ce894f48e4c28c55603 (patch) | |
tree | 02948ead9230b3f2583eb6e957b71b58357c99a7 | |
parent | Stable on hppa. (diff) | |
download | historical-29cafc46d981f81562570ce894f48e4c28c55603.tar.gz historical-29cafc46d981f81562570ce894f48e4c28c55603.tar.bz2 historical-29cafc46d981f81562570ce894f48e4c28c55603.zip |
remove WORKDIR restriction on rpm_unpack (#50291)
-rw-r--r-- | eclass/rpm.eclass | 4 |
1 files changed, 1 insertions, 3 deletions
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 <liquidx@gentoo.org> (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 |