Skip to content

Commit

Permalink
stage.py: improve path to url (spack#47898)
Browse files Browse the repository at this point in the history
  • Loading branch information
haampie authored Dec 4, 2024
1 parent 2aaf50b commit f82554a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/spack/spack/stage.py
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ def _generate_fetchers(self, mirror_only=False) -> Generator["fs.FetchStrategy",
# 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,
Expand Down

0 comments on commit f82554a

Please sign in to comment.