From 01ea9894a9cb5ffad1d49703395e6fb0eea2eb4e Mon Sep 17 00:00:00 2001 From: Serge Rehbinder Date: Wed, 8 Mar 2017 15:24:31 +0100 Subject: [PATCH] do not add the appli_script when there is a profile --- commands/package.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/commands/package.py b/commands/package.py index d933c61..8ad4ee9 100644 --- a/commands/package.py +++ b/commands/package.py @@ -452,23 +452,23 @@ def binary_package(config, logger, options, tmp_working_dir): not(options.without_commercial)) d_products["launcher"] = (launcher_package, launcher_name) + else: + # Provide a script for the creation of an application EDF style + appli_script = product_appli_creation_script(config, + logger, + tmp_working_dir, + binaries_dir_name) + + d_products["appli script"] = (appli_script, "create_appli.py") - # Put also some environment files + # Put also the environment file env_file = produce_relative_env_files(config, logger, tmp_working_dir, binaries_dir_name) d_products["environment file"] = (env_file, "env_launch.sh") - - # And provide a script for the creation of an application EDF style - appli_script = product_appli_creation_script(config, - logger, - tmp_working_dir, - binaries_dir_name) - - d_products["appli script"] = (appli_script, "create_appli.py") - + return d_products def source_package(sat, config, logger, options, tmp_working_dir): -- 2.39.2