projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
135e064
)
add -P to invocation of df(1) to ensure expected output format
author
Paul Davis
<paul@linuxaudiosystems.com>
Thu, 26 May 2011 23:41:33 +0000
(23:41 +0000)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Thu, 26 May 2011 23:41:33 +0000
(23:41 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@9604
d708f5d6
-7413-0410-9779-
e7cbd77b26cf
tools/linux_packaging/stage2.run
patch
|
blob
|
history
diff --git
a/tools/linux_packaging/stage2.run
b/tools/linux_packaging/stage2.run
index 7075e52c35a3e1bfd9004764ce9407f420db6893..1c1d7207265660834044a825690678afc78cfa5d 100755
(executable)
--- 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
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 ""
if [ ${FREE_BYTES} -le ${REQUIRED_BYTES} ] ; then
echo ""