From: Serge Rehbinder Date: Tue, 4 Oct 2016 10:22:30 +0000 (+0200) Subject: fix env for generated components X-Git-Tag: 5.0.0a1~85 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=5199c48604d8d6d14fdb82958201a0c43e5510fd;p=tools%2Fsat.git fix env for generated components --- diff --git a/src/environment.py b/src/environment.py index ab40ba8..a8152b0 100644 --- a/src/environment.py +++ b/src/environment.py @@ -537,11 +537,14 @@ class SalomeEnviron: if src.product.product_is_generated(pi): if "component_name" in pi: - # hack the install directory in order to point on the - # generated product install directory + # hack the source and install directories in order to point + # on the generated product source install directories pi.install_dir = os.path.join(self.cfg.APPLICATION.workdir, "INSTALL", pi.component_name) + pi.source_dir = os.path.join(self.cfg.APPLICATION.workdir, + "GENERATED", + pi.component_name) pi.name = pi.component_name self.set_salome_minimal_product_env(pi, logger) self.set_salome_generic_product_env(pi)