From 9757a9929954ea2148acce46f67eb6461bb34a97 Mon Sep 17 00:00:00 2001 From: crouzet Date: Mon, 15 Nov 2021 11:42:07 +0100 Subject: [PATCH] =?utf8?q?sat=20#26629=20:=20g=C3=A9n=C3=A9ralisation=20du?= =?utf8?q?=20patch=20pour=20avoir=20dans=20=20le=20nom=20du=20lanceur=20co?= =?utf8?q?rrect=20pour=20mesa=5Fsalome=20et=20binsalome?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- commands/package.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/commands/package.py b/commands/package.py index 227a851..bb3caa1 100644 --- a/commands/package.py +++ b/commands/package.py @@ -281,7 +281,7 @@ def produce_relative_launcher(config, 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 + additional_env['APPLI'] = "out_dir_Path" + config.VARS.sep + file_name # create an environment file writer writer = src.environment.FileEnvWriter(config, @@ -815,7 +815,13 @@ WARNING: existing binaries directory from previous detar installation: if options.sources: # if we mix binaries and sources, we add a copy of the launcher, # prefixed with "bin",in order to avoid clashes - d_products["launcher (copy)"] = (launcher_package, "bin"+launcher_name) + launcher_copy_name="bin"+launcher_name + launcher_package_copy = produce_relative_launcher(config, + logger, + tmp_working_dir, + launcher_copy_name, + binaries_dir_name) + d_products["launcher (copy)"] = (launcher_package_copy, launcher_copy_name) else: # Provide a script for the creation of an application EDF style appli_script = product_appli_creation_script(config, -- 2.39.2