aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Ogden <bernie.ogden@linaro.org>2015-04-07 13:34:06 +0100
committerBernard Ogden <bernie.ogden@linaro.org>2015-04-07 14:21:16 +0100
commit083de9863cfa01892d126c3fe549ecf6dd1e28fc (patch)
tree7bdef031fac9aa74d6e2b625077ad06d0c9a102a
parent4500e7d2457564af3ea6b4a0f3f509f319e13683 (diff)
Do size check for the partition we're using
Change-Id: I64fdf4042a34d862051c14d2b87913b7a5802b7d
-rwxr-xr-xabe.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/abe.sh b/abe.sh
index c8159a21..51c58dd0 100755
--- a/abe.sh
+++ b/abe.sh
@@ -714,7 +714,7 @@ dump()
}
# Check disk space. Each builds needs about 3.8G free
-df="`df /home | tail -1 | tr -s ' ' | cut -d ' ' -f 4`"
+df="`df ${abe_top} | tail -1 | tr -s ' ' | cut -d ' ' -f 4`"
if test ${df} -lt 4194304; then
error "Not enough disk space!"
exit 1