From b9aa87b2d052e4e3ac7d43a40e1ef309bd27cf99 Mon Sep 17 00:00:00 2001 From: Serge Rehbinder Date: Thu, 6 Oct 2016 12:24:20 +0200 Subject: [PATCH] sat package: do not try to get install directory of products that do not comile --- commands/package.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)) -- 2.39.2