summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorAlastair Tse <liquidx@gentoo.org>2003-06-22 16:31:23 +0000
committerAlastair Tse <liquidx@gentoo.org>2003-06-22 16:31:23 +0000
commit0ac68c53cfaca7f6741ac62df826fdfdd0af8ccc (patch)
tree45e22b502849c98147789b6b15ae8815e69ba901 /eclass
parentused agriffis' way of extracting rpms without gzipping at the end (diff)
downloadhistorical-0ac68c53cfaca7f6741ac62df826fdfdd0af8ccc.tar.gz
historical-0ac68c53cfaca7f6741ac62df826fdfdd0af8ccc.tar.bz2
historical-0ac68c53cfaca7f6741ac62df826fdfdd0af8ccc.zip
fix comments
Diffstat (limited to 'eclass')
-rw-r--r--eclass/rpm.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/rpm.eclass b/eclass/rpm.eclass
index 0be061c9f1ad..995ec985307c 100644
--- a/eclass/rpm.eclass
+++ b/eclass/rpm.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/rpm.eclass,v 1.5 2003/06/22 16:29:32 liquidx Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/rpm.eclass,v 1.6 2003/06/22 16:31:23 liquidx Exp $
# Author : Alastair Tse <liquidx@gentoo.org> (21 Jun 2003)
#
@@ -35,6 +35,7 @@ USE_RPMOFFSET_ONLY=${USE_RPMOFFSET_ONLY-""}
newdepend "app-arch/rpm2targz"
+# extracts the contents of the RPM in ${WORKDIR}
rpm_unpack() {
local rpmfile
rpmfile=$1
@@ -65,7 +66,6 @@ rpm_src_unpack() {
echo ">>> Unpacking ${x}"
prefix=${x%.rpm}
cd ${WORKDIR}
- # convert rpm to tar.gz and then extract
rpm_unpack ${DISTDIR}/${x} || die "${myfail}"
# find all tar.gz files and extract for srpms