From babb72a844e69a6a2173ad8a7711a9f0ab640c9d Mon Sep 17 00:00:00 2001 From: vsr Date: Fri, 20 Dec 2013 12:29:19 +0000 Subject: [PATCH] Fix pb with modif config files procedure --- config_files/common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } -- 2.39.2