diff options
author | Harmen Stoppels <me@harmenstoppels.nl> | 2024-12-04 09:41:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-04 09:41:38 +0100 |
commit | f82554a39ba3faa264741d15f4608654d42d1626 (patch) | |
tree | e518db54c35f8602e7d9e14f516798789b1e5ee2 /lib | |
parent | 2aaf50b8f75bb9aa282672f184d5c548e6869491 (diff) | |
download | spack-f82554a39ba3faa264741d15f4608654d42d1626.tar.gz spack-f82554a39ba3faa264741d15f4608654d42d1626.tar.bz2 spack-f82554a39ba3faa264741d15f4608654d42d1626.tar.xz spack-f82554a39ba3faa264741d15f4608654d42d1626.zip |
stage.py: improve path to url (#47898)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/spack/stage.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/stage.py b/lib/spack/spack/stage.py index 84949c2e28..08a6e31b93 100644 --- a/lib/spack/spack/stage.py +++ b/lib/spack/spack/stage.py @@ -488,7 +488,7 @@ class Stage(LockableStagingDir): # Insert fetchers in the order that the URLs are provided. fetchers[:0] = ( fs.from_url_scheme( - url_util.join(mirror.fetch_url, self.mirror_layout.path), + url_util.join(mirror.fetch_url, *self.mirror_layout.path.split(os.sep)), checksum=digest, expand=expand, extension=extension, |