]> SALOME platform Git repositories - tools/install.git/commitdiff
Salome HOME
Update for work on File System with long names
authormaintenance team <salome-mnt@opencascade.com>
Thu, 6 Nov 2008 09:02:37 +0000 (09:02 +0000)
committermaintenance team <salome-mnt@opencascade.com>
Thu, 6 Nov 2008 09:02:37 +0000 (09:02 +0000)
config_files/checkSize.sh

index d9d6ed67463a95b94a6f728a495e7c056f005042..bc921c632213251b6b07e20eb21b7b1cb595cad1 100755 (executable)
@@ -21,7 +21,7 @@ if [ $# -lt 2 ] ; 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
 if [ "$var" -lt "$2" ]; then
    echo "Available disk space is $var Kb"