summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTom Scogland <scogland1@llnl.gov>2022-03-18 19:22:28 -0700
committerMassimiliano Culpo <massimiliano.culpo@gmail.com>2022-04-14 11:08:17 +0200
commit2a8fe3a5b00bb093aeb39da03d70ca0968c4b612 (patch)
tree3710a97795d004414f05e5dc0862b78ec5602f26 /lib
parent3427e2c8cf36d7ba109da938fb872aad6e3759af (diff)
downloadspack-2a8fe3a5b00bb093aeb39da03d70ca0968c4b612.tar.gz
spack-2a8fe3a5b00bb093aeb39da03d70ca0968c4b612.tar.bz2
spack-2a8fe3a5b00bb093aeb39da03d70ca0968c4b612.tar.xz
spack-2a8fe3a5b00bb093aeb39da03d70ca0968c4b612.zip
allow ci reproduce to work when spack is cloned to a directory not named spack (#29518)
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/ci.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/ci.py b/lib/spack/spack/ci.py
index 8d337196ce..0285122f72 100644
--- a/lib/spack/spack/ci.py
+++ b/lib/spack/spack/ci.py
@@ -1551,7 +1551,7 @@ def setup_spack_repro_version(repro_dir, checkout_commit, merge_commit=None):
# Next attempt to clone your local spack repo into the repro dir
with fs.working_dir(repro_dir):
- clone_out = git("clone", spack_git_path,
+ clone_out = git("clone", spack_git_path, "spack",
output=str, error=os.devnull,
fail_on_error=False)