]> SALOME platform Git repositories - tools/sat_salome.git/commitdiff
Salome HOME
spns #24240 Environment variables not loading correctly via env_launch.sh
authorNabil Ghodbane <nabil.ghodbane@cea.fr>
Fri, 30 Apr 2021 12:21:37 +0000 (14:21 +0200)
committerNabil Ghodbane <nabil.ghodbane@cea.fr>
Fri, 30 Apr 2021 12:21:37 +0000 (14:21 +0200)
products/env_scripts/URANIE.py

index cc1a14109d272c13184db28ae1bebbfdd145dfb0..013628415cf885686ae5a81512ab45cc990dbcd3 100644 (file)
@@ -23,9 +23,7 @@ def set_env(env, prereq_dir, version, forBuild=None):
     env.prepend('LD_LIBRARY_PATH', os.path.join(uranie, 'lib'))
 
     # ROOT PATH
-    root_env = env.get('ROOT_ROOT_DIR')
-    env.set('ROOTSYS', root_env)
-
+    root_env = env.get('ROOTSYS')
     root_lib_env = os.path.join(root_env,'lib','root')
     if os.path.isdir(root_lib_env):
       env.prepend('ROOTSYSLIB', root_lib_env)