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
This commit is contained in:
Paul Davis 2011-05-26 23:41:33 +00:00
parent 135e064fbb
commit df96cb6136

View file

@ -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 ""