Salome HOME
spns #24248 : correction to avoid the use of .. in the paths written by sat
authorcrouzet <nicolas.crouzet@cea.fr>
Wed, 30 Mar 2022 14:21:02 +0000 (16:21 +0200)
committercrouzet <nicolas.crouzet@cea.fr>
Wed, 30 Mar 2022 14:21:02 +0000 (16:21 +0200)
commands/package.py

index 236ff65c185cd1738ae9624d1eb3b9868ce5e1c8..f5655a854d156925229d34fa689170fe18c35a30 100644 (file)
@@ -1359,7 +1359,7 @@ def write_application_pyconf(config, application_tmp_dir):
         app.workdir = src.pyconf.Reference(
                                  app,
                                  src.pyconf.DOLLAR,
-                                 'VARS.salometoolsway + $VARS.sep + ".."')
+                                 'LOCAL.workdir')
         res.addMapping("APPLICATION", app, "")
         res.__save__(f, evaluated=False)