From: abd Date: Mon, 30 Oct 2006 09:16:45 +0000 (+0000) Subject: Update script for testing on new environment X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=5e56de100ad6bc547faeccafa85c484ac6726d33;p=modules%2Fkernel.git Update script for testing on new environment --- 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)