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:
@@ -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 ""
|
||||
|
||||
Reference in New Issue
Block a user