summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Jones <cretin@gentoo.org>2003-04-16 17:31:18 +0000
committerStefan Jones <cretin@gentoo.org>2003-04-16 17:31:18 +0000
commit5cfbc5a9f042217415fab95f1a4db68f6e447798 (patch)
tree65bfd6b7a5d60d8f02a09c8422715b610d9a2666 /dev-java/sun-j2sdk
parentFix motif with glibc-2.3.2 (diff)
downloadgentoo-2-5cfbc5a9f042217415fab95f1a4db68f6e447798.tar.gz
gentoo-2-5cfbc5a9f042217415fab95f1a4db68f6e447798.tar.bz2
gentoo-2-5cfbc5a9f042217415fab95f1a4db68f6e447798.zip
Added -P to df command
Diffstat (limited to 'dev-java/sun-j2sdk')
-rw-r--r--dev-java/sun-j2sdk/sun-j2sdk-1.4.1.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/dev-java/sun-j2sdk/sun-j2sdk-1.4.1.ebuild b/dev-java/sun-j2sdk/sun-j2sdk-1.4.1.ebuild
index 80203df3414c..3eb9b6d9dcdd 100644
--- a/dev-java/sun-j2sdk/sun-j2sdk-1.4.1.ebuild
+++ b/dev-java/sun-j2sdk/sun-j2sdk-1.4.1.ebuild
@@ -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/dev-java/sun-j2sdk/sun-j2sdk-1.4.1.ebuild,v 1.7 2003/04/15 13:51:16 cretin Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-j2sdk/sun-j2sdk-1.4.1.ebuild,v 1.8 2003/04/16 17:31:18 cretin Exp $
# Maintainer: Stefan Jones <cretin@gentoo.org>
# Author: Stefan Jones <cretin@gentoo.org>
@@ -49,7 +49,7 @@ PROVIDE="virtual/jre-1.4.1
pkg_setup() {
#Check if we have enough space
- if [ `df ${PORTAGE_TMPDIR}/portage/ | tail -n 1 | awk '{ print $4 }'` -le 2097152 ] ; then
+ if [ `df -P ${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"