summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Jones <carpaski@gentoo.org>2002-09-19 17:45:31 +0000
committerNicholas Jones <carpaski@gentoo.org>2002-09-19 17:45:31 +0000
commit7065d1a4c17fbeef03c5ec105501681ef93b9c68 (patch)
tree8844812f1eae8b3a1537fa30e0f9c85e0d40f50e /sys-devel/gcc-compat
parentcompatibility ebuild for upgrade profiles. Maintains gcc libs. (diff)
downloadhistorical-7065d1a4c17fbeef03c5ec105501681ef93b9c68.tar.gz
historical-7065d1a4c17fbeef03c5ec105501681ef93b9c68.tar.bz2
historical-7065d1a4c17fbeef03c5ec105501681ef93b9c68.zip
Added $ROOT and die statements
Diffstat (limited to 'sys-devel/gcc-compat')
-rw-r--r--sys-devel/gcc-compat/gcc-compat-1.4.ebuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys-devel/gcc-compat/gcc-compat-1.4.ebuild b/sys-devel/gcc-compat/gcc-compat-1.4.ebuild
index a3f26c677420..0dc96562dc7b 100644
--- a/sys-devel/gcc-compat/gcc-compat-1.4.ebuild
+++ b/sys-devel/gcc-compat/gcc-compat-1.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc-compat/gcc-compat-1.4.ebuild,v 1.1 2002/09/19 17:40:31 carpaski Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc-compat/gcc-compat-1.4.ebuild,v 1.2 2002/09/19 17:45:31 carpaski Exp $
DESCRIPTION="This is a compatability layer for use when upgrading to profile $PV"
HOMEPAGE="http://www.gentoo.org"
@@ -23,8 +23,8 @@ src_compile() {
}
src_install () {
- cd /
- tar cvf ${WORKDIR}/gcc-libs.tar $(find /usr/lib/gcc-lib/ -type f -name '*.so*')
- cd ${D}
- tar -mxvf ${WORKDIR}/gcc-libs.tar
+ cd $ROOT || die "Failed to chdir to root: $ROOT"
+ tar cvf ${WORKDIR}/gcc-libs.tar $(find /usr/lib/gcc-lib/ -type f -name '*.so*') || die "failed to create tarball"
+ cd ${D} || die "failed to enter \$D: $D"
+ tar -mxvf ${WORKDIR}/gcc-libs.tar || die "failed to extract tarball"
}