From: vsr Date: Tue, 17 Dec 2013 07:16:12 +0000 (+0000) Subject: Fix a bug : wrong substitution X-Git-Tag: V7_3_0rc1~7 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b1d60340507a668cf23873e2eaa58080f41e83f2;p=tools%2Finstall.git Fix a bug : wrong substitution --- diff --git a/config_files/common.sh b/config_files/common.sh index d8b2d41..bd993f6 100755 --- a/config_files/common.sh +++ b/config_files/common.sh @@ -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 }