From 5e56de100ad6bc547faeccafa85c484ac6726d33 Mon Sep 17 00:00:00 2001 From: abd Date: Mon, 30 Oct 2006 09:16:45 +0000 Subject: [PATCH] Update script for testing on new environment --- bin/envSalome.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/bin/envSalome.py b/bin/envSalome.py index 744ba08cb..f0dcd7b3a 100755 --- a/bin/envSalome.py +++ b/bin/envSalome.py @@ -21,16 +21,18 @@ import os import sys +import setenv kernel_root=os.getenv("KERNEL_ROOT_DIR") sys.path[:0]=[kernel_root+"/bin/salome"] -import runSalome +#import runSalome argv=sys.argv[1:] sys.argv=[] -args, modules_list, modules_root_dir = runSalome.get_config() -runSalome.set_env(args, modules_list, modules_root_dir) +args, modules_list, modules_root_dir = setenv.get_config() +#runSalome.set_env(args, modules_list, modules_root_dir) +setenv.main(); os.execvp(argv[0],argv) -- 2.39.2