Salome HOME
Update some important files after binary installation
[tools/install.git] / config_files / diskSpace.sh
index 12812cf3fdc68595e2f54d987c6bc1baad280172..3a3a0a69878f44ba55d995bc8045292520f89caa 100755 (executable)
@@ -6,7 +6,7 @@
 #  Author    : Vadim SANDLER, Open CASCADE SAS (vadim.sandler@opencascade.com)
 #  Project   : SALOME
 #  Module    : Installation Wizard
-#  Copyright : 2002-2007 CEA
+#  Copyright : 2002-2013 CEA
 #
 #  This script is the part of the SALOME installation procedure.
 #
@@ -20,7 +20,7 @@ if [ $# -lt 1 ] ; then
     echo "`basename $0` : wrong parameters"
     exit 1
 fi
-var=`df -k "$1" | awk '{print $4}'`
+var=`df -Pk "$1" | awk '{print $4}'`
 for i in $var; do var=$i; done
 echo $var
 exit 0