f =open(os.path.join(home_dir,'env.d','configSalome.sh'),'w')
for module in _config["modules"]:
- command='export '+ module + '_ROOT_DIR=' + _config[module] +'\n'
+ command='export '+ module + '_ROOT_DIR=' + home_dir +'\n'
f.write(command)
pass
if _config.has_key("samples_path"):
command = 'export SUITRoot=' + os.path.join(home_dir,'share','salome') +'\n'
f.write(command)
f.write('export DISABLE_FPE=1\n')
+ f.write('export MMGT_REENTRANT=1\n')
f.close()