From b1d60340507a668cf23873e2eaa58080f41e83f2 Mon Sep 17 00:00:00 2001 From: vsr Date: Tue, 17 Dec 2013 07:16:12 +0000 Subject: [PATCH] Fix a bug : wrong substitution --- 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 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 } -- 2.39.2