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

Merge branch 'bugfix/correctly-reset-dunecontrol-path' into 'master'

See merge request [spack/dune-spack!10]

  [spack/dune-spack!10]: Nonespack/dune-spack/merge_requests/10
This commit is contained in:
Dominic Kempf 2020-05-15 09:47:44 +00:00
commit ba7b5cc439
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).