From 21e6836bb7db83933f93522924634ab9c415eca2 Mon Sep 17 00:00:00 2001 From: David van Moolenbroek Date: Tue, 16 Oct 2012 19:34:18 +0200 Subject: [PATCH] release.sh: call df(1) with -k --- releasetools/release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releasetools/release.sh b/releasetools/release.sh index 8a7931ccc..cbe1fcbb2 100755 --- a/releasetools/release.sh +++ b/releasetools/release.sh @@ -358,7 +358,7 @@ mount $TMPDISKUSR $RELEASEMNTDIR/usr || exit echo " * Copying files from staging to image" synctree -f $RELEASEDIR $RELEASEMNTDIR > /dev/null || true -expr `df $TMPDISKUSR | tail -1 | awk '{ print $4 }'` - $extrakb >$RELEASEMNTDIR/.usrkb +expr `df -k $TMPDISKUSR | tail -1 | awk '{ print $4 }'` - $extrakb >$RELEASEMNTDIR/.usrkb echo " * Unmounting $TMPDISKUSR from $RELEASEMNTDIR/usr" umount $TMPDISKUSR || exit -- 2.44.0