]> SALOME platform Git repositories - tools/install.git/commitdiff
Salome HOME
Fix pb with modif config files procedure
authorvsr <vsr@opencascade.com>
Fri, 20 Dec 2013 11:44:56 +0000 (11:44 +0000)
committervsr <vsr@opencascade.com>
Fri, 20 Dec 2013 11:44:56 +0000 (11:44 +0000)
config_files/common.sh

index 7b6509e06c822179cd0574a3539234c98daa4614..33dc2cf1552c30097db0a604341ecf4825db2ace 100755 (executable)
@@ -1007,7 +1007,7 @@ modif_cfg_file(){
        sed -i "s%\([^/]*\)[^; ]*/gl2ps-[0-9.]\+%\1${GL2PS_ROOT_DIR}%g" $1
     fi
     if [ "${TBB_ROOT_DIR}" != "" ] ; then
-       sed -i "s%\([^/]*\)[^; ]*/tbb[^/]\+%\1${TBB_ROOT_DIR}%g" $1
+       sed -i "s%\([^/]*\)[^; ]*/tbb[^/; \"]\+%\1${TBB_ROOT_DIR}%g" $1
     fi
     if [ "${CAS_ROOT_DIR}" != "" ] ; then
        sed -i "s%\([^/]*\)[^; ]*/OCCT[^/]*\(/[^ /;\"]*\)\?\(\"\|/inc\|/lib\)%\1${CAS_ROOT_DIR}\3%g" $1