[bugfix] Reset dunecontrol path to undefined instead of wrong path
This commit is contained in:
parent
87b631a1e4
commit
50f4914044
|
@ -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).
|
||||
|
|
Loading…
Reference in New Issue