Salome HOME
projects
/
tools
/
install.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update for 6.1.0
[tools/install.git]
/
config_files
/
checkSize.sh
diff --git
a/config_files/checkSize.sh
b/config_files/checkSize.sh
index 525e36dc910432a8db80f062e6d3bfbde25fac02..bc921c632213251b6b07e20eb21b7b1cb595cad1 100755
(executable)
--- a/
config_files/checkSize.sh
+++ b/
config_files/checkSize.sh
@@
-6,7
+6,7
@@
# Author : Vadim SANDLER, Open CASCADE SAS (vadim.sandler@opencascade.com)
# Project : SALOME
# Module : Installation Wizard
# Author : Vadim SANDLER, Open CASCADE SAS (vadim.sandler@opencascade.com)
# Project : SALOME
# Module : Installation Wizard
-# Copyright : 2002-200
7
CEA
+# Copyright : 2002-200
8
CEA
#
# This script is the part of the SALOME installation procedure.
#
#
# This script is the part of the SALOME installation procedure.
#
@@
-21,7
+21,7
@@
if [ $# -lt 2 ] ; then
echo "`basename $0` : wrong parameters"
exit 1
fi
echo "`basename $0` : wrong parameters"
exit 1
fi
-var=`df -k "$1" | awk '{print $4}'`
+var=`df -
P
k "$1" | awk '{print $4}'`
for i in $var; do var=$i; done
if [ "$var" -lt "$2" ]; then
echo "Available disk space is $var Kb"
for i in $var; do var=$i; done
if [ "$var" -lt "$2" ]; then
echo "Available disk space is $var Kb"