From: crouzet Date: Mon, 28 Mar 2022 07:30:38 +0000 (+0200) Subject: spns #26801 : bug sat package, le lanceur ne faisait pas le réinit X-Git-Tag: V9_9_0~7 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=824c9a28bc163ef4096545529bb1d0a4132a81e0;p=tools%2Fsat.git spns #26801 : bug sat package, le lanceur ne faisait pas le réinit et aussi amélioration de sat launcher, ne plus pointer vers le module SALOME si celui-ci n'est pas présent! --- diff --git a/commands/launcher.py b/commands/launcher.py index bfbdc92..ea7cc82 100644 --- a/commands/launcher.py +++ b/commands/launcher.py @@ -136,7 +136,9 @@ def generate_launch_file(config, for prod_name, prod_info in l_product_info: # look for a salome application if src.get_property_in_product_cfg(prod_info, "is_salome_application") == "yes": - salome_application_name=prod_info.install_dir + # if user choose -p option (env_info not None), the set appli name only if product was selected. + if env_info == None or ( prod_name in env_info): + salome_application_name=prod_info.install_dir continue # if the application contains an application module, we set ABSOLUTE_APPLI_PATH to it. diff --git a/commands/package.py b/commands/package.py index fb62fdc..236ff65 100644 --- a/commands/package.py +++ b/commands/package.py @@ -318,7 +318,7 @@ def produce_relative_launcher(config, False, # for launch "cfgForPy", additional_env=additional_env, - no_path_init="False", + no_path_init=False, for_package = binaries_dir_name) # Little hack to put out_dir_Path outside the strings