From 87aaef0a3ec076c68159b55ba5ded34cbae2d645 Mon Sep 17 00:00:00 2001 From: Stefan Jones Date: Mon, 11 Nov 2002 10:05:06 +0000 Subject: PORTAGE_TMPDIR fixo --- dev-java/sun-j2sdk/sun-j2sdk-1.4.0-r1.ebuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'dev-java/sun-j2sdk') 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 # Author: Stefan Jones -# $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 @@ -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 -- cgit v1.2.3-65-gdbad