From: Serge Rehbinder Date: Wed, 8 Mar 2017 14:24:31 +0000 (+0100) Subject: do not add the appli_script when there is a profile X-Git-Tag: 5.0.0a1~5 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=01ea9894a9cb5ffad1d49703395e6fb0eea2eb4e;p=tools%2Fsat.git do not add the appli_script when there is a profile --- 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):