From: vsr Date: Mon, 12 May 2014 08:30:51 +0000 (+0400) Subject: SALOME_GENERATE_TESTS_ENVIRONMENT script: process correctly ';' separator in env... X-Git-Tag: V7_4_0rc1~5 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=dd73d260614c2f05b97c0b8422cd114babc382c2;p=modules%2Fkernel.git SALOME_GENERATE_TESTS_ENVIRONMENT script: process correctly ';' separator in env variables on Linux --- diff --git a/salome_adm/cmake_files/SalomeMacros.cmake b/salome_adm/cmake_files/SalomeMacros.cmake index 65983c995..15d2ca90e 100644 --- a/salome_adm/cmake_files/SalomeMacros.cmake +++ b/salome_adm/cmake_files/SalomeMacros.cmake @@ -832,7 +832,8 @@ MACRO(SALOME_GENERATE_TESTS_ENVIRONMENT output) SET(_env "${_item}=$ENV{${_item}};${_env_${_item}}${sep}${_env}") ENDIF() ELSE() - SET(_env "${_item}=$ENV{${_item}}:${_env_${_item}}${sep}${_env}") + STRING(REPLACE ";" ":" _iii "$ENV{${_item}}") + SET(_env "${_item}=${_iii}:${_env_${_item}}${sep}${_env}") ENDIF() ENDFOREACH()