From 0a1ba9bcd45903c39cd27a54c2f93a61dda6a7b3 Mon Sep 17 00:00:00 2001 From: Serge Rehbinder Date: Mon, 19 Sep 2016 12:32:31 +0200 Subject: [PATCH] Bug fix: wrong behavior when a product is in opt_depend of another product --- src/product.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/product.py b/src/product.py index b5ae9cb..f3e2682 100644 --- a/src/product.py +++ b/src/product.py @@ -93,7 +93,7 @@ def get_product_config(config, product_name, with_install_dir=True): # merge opt_depend in depend if prod_info is not None and 'opt_depend' in prod_info: for depend in prod_info.opt_depend: - if depend in config.PRODUCTS: + if depend in config.APPLICATION: prod_info.depend.append(depend,'') # In case of a product get with a vcs, -- 2.39.2