]> SALOME platform Git repositories - tools/sat.git/commitdiff
Salome HOME
sat package: do not try to get install directory of products that do not comile
authorSerge Rehbinder <serge.rehbinder@cea.fr>
Thu, 6 Oct 2016 10:24:20 +0000 (12:24 +0200)
committerSerge Rehbinder <serge.rehbinder@cea.fr>
Thu, 6 Oct 2016 10:24:20 +0000 (12:24 +0200)
commands/package.py

index 2c670d4747e4136fc3d8b1ae758b31fe27985a5a..26977febe56304dfcc2cedbd17803c63d8409356 100644 (file)
@@ -224,7 +224,8 @@ def binary_package(config, logger, options, tmp_working_dir):
     for prod_name, prod_info in l_product_info:
         # ignore the native and fixed products
         if (src.product.product_is_native(prod_info) 
-                or src.product.product_is_fixed(prod_info)):
+                or src.product.product_is_fixed(prod_info)
+                or not src.product.product_compiles(prod_info)):
             continue
         if src.product.check_installation(prod_info):
             l_install_dir.append((prod_name, prod_info.install_dir))