summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Jones <cretin@gentoo.org>2002-11-11 10:05:06 +0000
committerStefan Jones <cretin@gentoo.org>2002-11-11 10:05:06 +0000
commit87aaef0a3ec076c68159b55ba5ded34cbae2d645 (patch)
treeb451b2121fa9c1f0c067a5e95f0e145424029584 /dev-java/sun-j2sdk
parentbug #10546 (diff)
downloadgentoo-2-87aaef0a3ec076c68159b55ba5ded34cbae2d645.tar.gz
gentoo-2-87aaef0a3ec076c68159b55ba5ded34cbae2d645.tar.bz2
gentoo-2-87aaef0a3ec076c68159b55ba5ded34cbae2d645.zip
PORTAGE_TMPDIR fixo
Diffstat (limited to 'dev-java/sun-j2sdk')
-rw-r--r--dev-java/sun-j2sdk/sun-j2sdk-1.4.0-r1.ebuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/dev-java/sun-j2sdk/sun-j2sdk-1.4.0-r1.ebuild b/dev-java/sun-j2sdk/sun-j2sdk-1.4.0-r1.ebuild
index fac2ebea6071..2e3f0d760e95 100644
--- a/dev-java/sun-j2sdk/sun-j2sdk-1.4.0-r1.ebuild
+++ b/dev-java/sun-j2sdk/sun-j2sdk-1.4.0-r1.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
# Maintainer: Stefan Jones <cretin@gentoo.org>
# Author: Stefan Jones <cretin@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-j2sdk/sun-j2sdk-1.4.0-r1.ebuild,v 1.6 2002/11/10 11:30:25 cretin Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-j2sdk/sun-j2sdk-1.4.0-r1.ebuild,v 1.7 2002/11/11 10:05:06 cretin Exp $
# Based on http://tushar.lfsforum.org/javafromscratch.txt (LFS)
# By Tushar Teredesai <Tush@Yahoo.Com>
@@ -49,8 +49,8 @@ PROVIDE="virtual/jre-1.4.0
pkg_setup() {
#Check if we have enough space
- if [ `df ${PORTAGE_TMPDIR} | tail -n 1 | awk '{ print $4 }'` -le 2097152 ] ; then
- eerror "You need about 2G of disk space to compile this at ${PORTAGE_TMPDIR},"
+ if [ `df ${PORTAGE_TMPDIR}/portage/ | tail -n 1 | awk '{ print $4 }'` -le 2097152 ] ; then
+ eerror "You need about 2G of disk space to compile this at ${PORTAGE_TMPDIR}/portage,"
eerror "it seems you don't have that much, quiting, sorry!"
die "Not enough disk space"
fi