Canonicalize positional argument to spack bootstrap mirror (#31180)
fixes #31139
This commit is contained in:
committed by
GitHub
parent
77118427b1
commit
649760dc1a
@@ -379,7 +379,9 @@ def _remove(args):
|
|||||||
|
|
||||||
|
|
||||||
def _mirror(args):
|
def _mirror(args):
|
||||||
mirror_dir = os.path.join(args.root_dir, LOCAL_MIRROR_DIR)
|
mirror_dir = spack.util.path.canonicalize_path(
|
||||||
|
os.path.join(args.root_dir, LOCAL_MIRROR_DIR)
|
||||||
|
)
|
||||||
|
|
||||||
# TODO: Here we are adding gnuconfig manually, but this can be fixed
|
# TODO: Here we are adding gnuconfig manually, but this can be fixed
|
||||||
# TODO: as soon as we have an option to add to a mirror all the possible
|
# TODO: as soon as we have an option to add to a mirror all the possible
|
||||||
|
|||||||
Reference in New Issue
Block a user