From 50f4914044d1d2c943a0029222947a65c0c38a31 Mon Sep 17 00:00:00 2001 From: Dominic Kempf Date: Fri, 15 May 2020 11:46:23 +0200 Subject: [PATCH] [bugfix] Reset dunecontrol path to undefined instead of wrong path --- packages/dune/package.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/dune/package.py b/packages/dune/package.py index 93ecb4a..c172af9 100644 --- a/packages/dune/package.py +++ b/packages/dune/package.py @@ -197,7 +197,7 @@ class Dune(CMakePackage): def setup_build_environment(self, env): # We reset the DUNE_CONTROL_PATH here because any entries in this # path that contain Dune modules will break the Spack build process. - env.set('DUNE_CONTROL_PATH', self.prefix) + env.set('DUNE_CONTROL_PATH', '') def setup_run_environment(self, env): # Some scripts search the DUNE_CONTROL_PATH for Dune modules (e.g. duneproject).