From 492b3e92763f4d4937793eaf0a6575960bdd388e Mon Sep 17 00:00:00 2001 From: maintenance team Date: Thu, 6 Nov 2008 09:03:36 +0000 Subject: [PATCH] Update for work on File System with long names --- config_files/checkSize.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config_files/checkSize.sh b/config_files/checkSize.sh index 525e36d..bc921c6 100755 --- 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 -# Copyright : 2002-2007 CEA +# Copyright : 2002-2008 CEA # # 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 -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" -- 2.39.2