Salome HOME
projects
/
modules
/
kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix for Bug NPAL16630 (runSalome and runAppli use python option "-i" when it has...
[modules/kernel.git]
/
bin
/
appli_gen.py
diff --git
a/bin/appli_gen.py
b/bin/appli_gen.py
index 977b3f5c1bbbf1860629faa166800ade53648521..6d70fe9392d966df41d987ae193eeae8c6d1fdfd 100644
(file)
--- a/
bin/appli_gen.py
+++ b/
bin/appli_gen.py
@@
-174,7
+174,7
@@
def install(prefix,config_file):
f =open(os.path.join(home_dir,'env.d','configSalome.sh'),'w')
for module in _config["modules"]:
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"):
f.write(command)
pass
if _config.has_key("samples_path"):
@@
-190,6
+190,7
@@
def install(prefix,config_file):
command = 'export SUITRoot=' + os.path.join(home_dir,'share','salome') +'\n'
f.write(command)
f.write('export DISABLE_FPE=1\n')
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()
f.close()