[bugfix] Reset dunecontrol path to undefined instead of wrong path

This commit is contained in:
Dominic Kempf 2020-05-15 11:46:23 +02:00
parent 87b631a1e4
commit 50f4914044
1 changed files with 1 additions and 1 deletions

View File

@ -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).