]> SALOME platform Git repositories - tools/sat.git/commitdiff
Salome HOME
sat #26629 : ajout variable APPLI dans sat package
authorCROUZET Nicolas <crouzet@is243948.intra.cea.fr>
Mon, 15 Nov 2021 07:49:50 +0000 (08:49 +0100)
committerCROUZET Nicolas <crouzet@is243948.intra.cea.fr>
Mon, 15 Nov 2021 07:49:50 +0000 (08:49 +0100)
commands/package.py

index f23290da26977b6fed2397c504481ce2de3a057d..227a851337b595bdb5cc0c78a18d4d7dadd51cb6 100644 (file)
@@ -280,6 +280,8 @@ def produce_relative_launcher(config,
         additional_env['sat_python_version'] = 2
 
     additional_env['ABSOLUTE_APPLI_PATH'] = "out_dir_Path" + config.VARS.sep + app_root_dir
+    launcher_name = src.get_launcher_name(config)
+    additional_env['APPLI'] = "out_dir_Path" + config.VARS.sep + launcher_name
 
     # create an environment file writer
     writer = src.environment.FileEnvWriter(config,