From f82554a39ba3faa264741d15f4608654d42d1626 Mon Sep 17 00:00:00 2001 From: Harmen Stoppels Date: Wed, 4 Dec 2024 09:41:38 +0100 Subject: stage.py: improve path to url (#47898) --- lib/spack/spack/stage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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, -- cgit v1.2.3-70-g09d2