From: CEA Support SALOME Date: Tue, 7 Mar 2017 08:34:10 +0000 (+0100) Subject: env file for all binary packages X-Git-Tag: 5.0.0a1~11 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=5bdee8e0a2b43bc5717dfee6f78ebeaf26b0d73f;p=tools%2Fsat.git env file for all binary packages --- diff --git a/commands/package.py b/commands/package.py index 9a5ff22..b2fcded 100644 --- a/commands/package.py +++ b/commands/package.py @@ -428,22 +428,22 @@ def binary_package(config, logger, options, tmp_working_dir): not(options.without_commercial)) d_products["launcher"] = (launcher_package, launcher_name) - else: - # No profile, it means that there has to be some environment files - 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") + # Put also some environment files + 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