summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2011-05-26 23:41:33 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2011-05-26 23:41:33 +0000
commitdf96cb61363e439fdc6e3f9d34ce514eb2a9a3f6 (patch)
treece5742a128916194844dc08187881dacc0298899
parent135e064fbb7f399498616e18c00e13ccd70eb34e (diff)
add -P to invocation of df(1) to ensure expected output format
git-svn-id: svn://localhost/ardour2/branches/3.0@9604 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rwxr-xr-xtools/linux_packaging/stage2.run2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/linux_packaging/stage2.run b/tools/linux_packaging/stage2.run
index 7075e52c35..1c1d720726 100755
--- a/tools/linux_packaging/stage2.run
+++ b/tools/linux_packaging/stage2.run
@@ -196,7 +196,7 @@ else
REQUIRED_BYTES=$(cat .${PGM_NAME}_${ARCH}-*.size)
#Check space in current folder
- FREE_BYTES=$(df -B 1 ${PKG_PATH} | grep / | awk '{print $4}')
+ FREE_BYTES=$(df -P -B 1 ${PKG_PATH} | grep / | awk '{print $4}')
if [ ${FREE_BYTES} -le ${REQUIRED_BYTES} ] ; then
echo ""