From: vsr Date: Fri, 20 Dec 2013 12:29:19 +0000 (+0000) Subject: Fix pb with modif config files procedure X-Git-Tag: V7_3_0~6 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=babb72a844e69a6a2173ad8a7711a9f0ab640c9d;p=tools%2Finstall.git Fix pb with modif config files procedure --- diff --git a/config_files/common.sh b/config_files/common.sh index 33dc2cf..9f7bb6d 100755 --- a/config_files/common.sh +++ b/config_files/common.sh @@ -1049,7 +1049,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}\2%g" $1 fi done }