From: Serge Rehbinder Date: Thu, 6 Oct 2016 10:24:20 +0000 (+0200) Subject: sat package: do not try to get install directory of products that do not comile X-Git-Tag: 5.0.0a1~82 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b9aa87b2d052e4e3ac7d43a40e1ef309bd27cf99;p=tools%2Fsat.git sat package: do not try to get install directory of products that do not comile --- diff --git a/commands/package.py b/commands/package.py index 2c670d4..26977fe 100644 --- a/commands/package.py +++ b/commands/package.py @@ -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))