diff options
author | psakievich <psakiev@sandia.gov> | 2022-11-16 13:37:32 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-16 14:37:32 -0600 |
commit | 90f0a8eacccd84499a8a8a15eff1ab2ece2a7a6a (patch) | |
tree | 1b18e3ac02bd16304d843930f2680c2cf8f310fb /lib | |
parent | 61a7420c94d84888a5408bf88f74076dfc1014fe (diff) | |
download | spack-90f0a8eacccd84499a8a8a15eff1ab2ece2a7a6a.tar.gz spack-90f0a8eacccd84499a8a8a15eff1ab2ece2a7a6a.tar.bz2 spack-90f0a8eacccd84499a8a8a15eff1ab2ece2a7a6a.tar.xz spack-90f0a8eacccd84499a8a8a15eff1ab2ece2a7a6a.zip |
Upstreams: add canonicalize path (#33946)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/spack/store.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/spack/spack/store.py b/lib/spack/spack/store.py index d9440f2aed..40a2574998 100644 --- a/lib/spack/spack/store.py +++ b/lib/spack/spack/store.py @@ -274,7 +274,9 @@ def _construct_upstream_dbs_from_install_roots(install_roots, _test=False): for install_root in reversed(install_roots): upstream_dbs = list(accumulated_upstream_dbs) next_db = spack.database.Database( - install_root, is_upstream=True, upstream_dbs=upstream_dbs + spack.util.path.canonicalize_path(install_root), + is_upstream=True, + upstream_dbs=upstream_dbs, ) next_db._fail_when_missing_deps = _test next_db._read() |