]> SALOME platform Git repositories - tools/sat.git/commitdiff
Salome HOME
do not add the appli_script when there is a profile
authorSerge Rehbinder <serge.rehbinder@cea.fr>
Wed, 8 Mar 2017 14:24:31 +0000 (15:24 +0100)
committerSerge Rehbinder <serge.rehbinder@cea.fr>
Wed, 8 Mar 2017 14:24:31 +0000 (15:24 +0100)
commands/package.py

index d933c61992b0bd28b827d3a8ecbdb6312e4739e3..8ad4ee9b5dabd9c46e3c78dd5f555749ea2e26d8 100644 (file)
@@ -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):