From: crouzet Date: Thu, 20 Aug 2020 08:31:30 +0000 (+0200) Subject: sat #19888 : supprime la reinit de ld et python path - incompatible avec module load X-Git-Tag: 5.6.1^2~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=637c2b40a9c09a0eb4580a9dc311c0d19f3c2282;p=tools%2Fsat.git sat #19888 : supprime la reinit de ld et python path - incompatible avec module load --- diff --git a/src/environment.py b/src/environment.py index 17029b1..875c4a5 100644 --- a/src/environment.py +++ b/src/environment.py @@ -388,14 +388,6 @@ class SalomeEnviron: else: self.cfg.APPLICATION.environ.PRODUCT_ROOT_DIR = src.pyconf.Reference(self.cfg, src.pyconf.DOLLAR, "workdir") - # these sensitive variables are reset to avoid bad environment interactions - self.add_line(1) - self.add_comment("reset these sensitive variables to avoid bad environment interactions") - self.add_comment("comment these to lines if you wish a different behaviour") - if not src.architecture.is_windows(): - self.set("LD_LIBRARY_PATH", "") - self.set("PYTHONPATH", "") - self.add_line(1) # Set the variables defined in the "environ" section if 'environ' in self.cfg.APPLICATION: