summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd Naugle <toddn@glw.com>2011-05-27 15:21:57 +0000
committerTodd Naugle <toddn@glw.com>2011-05-27 15:21:57 +0000
commit18c90b3d34593904d5056bdaa9be562d922be52f (patch)
tree6f1fdbbe3bc119f278948dc13ab04b94c68467e9
parent5f6cd9882f9bb7db7428795db122d5b4d9eaf01b (diff)
add -P to invocation of df(1) to ensure expected output format
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@9611 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rwxr-xr-xtools/linux_packaging/stage2.run4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/linux_packaging/stage2.run b/tools/linux_packaging/stage2.run
index 7f6eafd0d5..e8fc12905f 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 ""
@@ -206,7 +206,7 @@ else
fi
#Check space in INSTALL_DEST_BASE
- FREE_BYTES=$(df -B 1 ${INSTALL_DEST_BASE} | grep / | awk '{print $4}')
+ FREE_BYTES=$(df -P -B 1 ${INSTALL_DEST_BASE} | grep / | awk '{print $4}')
if [ ${FREE_BYTES} -le ${REQUIRED_BYTES} ] ; then
echo ""