From: David van Moolenbroek Date: Tue, 16 Oct 2012 17:34:18 +0000 (+0200) Subject: release.sh: call df(1) with -k X-Git-Tag: v3.2.1~274 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/man.arpaname.html?a=commitdiff_plain;h=21e6836bb7db83933f93522924634ab9c415eca2;p=minix.git release.sh: call df(1) with -k --- 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