mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
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:
parent
135e064fbb
commit
df96cb6136
1 changed files with 1 additions and 1 deletions
|
|
@ -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 ""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue