]> SALOME platform Git repositories - tools/install.git/commitdiff
Salome HOME
Fix a bug : wrong substitution
authorvsr <vsr@opencascade.com>
Tue, 17 Dec 2013 07:16:12 +0000 (07:16 +0000)
committervsr <vsr@opencascade.com>
Tue, 17 Dec 2013 07:16:12 +0000 (07:16 +0000)
config_files/common.sh

index d8b2d41e470868b83d9e97f8d86f226bd8c3fdc4..bd993f6b488c5ecdd47814e19420776f7799fa6b 100755 (executable)
@@ -1068,7 +1068,7 @@ modif_cfg_file(){
        CALCULATOR PYCALCULATOR COMPONENT HELLO PYHELLO LIGHT PYLIGHT ATOMIC ATOMGEN ATOMSOLV RANDOMIZER SIERPINSKY ; do
        smvar=${sm}_ROOT_DIR
        if [ "${!smvar}" != "" ] ; then
-           sed -i "s%\([^/]*\)[^;]*/${sm}[^/]*%\1${!smvar}%g" $1
+           sed -i "s%\([^/]*\)[^;]*/${sm}[^/\"]*%\1${!smvar}%g" $1
        fi
     done
 }