diff options
author | Massimiliano Culpo <massimiliano.culpo@gmail.com> | 2022-03-25 08:39:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-25 08:39:09 +0100 |
commit | 048a0de35bd791f233d0a6f676d841d85e75aae7 (patch) | |
tree | c54a69414bb0549bd7f80a9c6f79554db0f0be50 /var | |
parent | 4702b490949aaee2f56326747c3673e7a2bc9ab5 (diff) | |
download | spack-048a0de35bd791f233d0a6f676d841d85e75aae7.tar.gz spack-048a0de35bd791f233d0a6f676d841d85e75aae7.tar.bz2 spack-048a0de35bd791f233d0a6f676d841d85e75aae7.tar.xz spack-048a0de35bd791f233d0a6f676d841d85e75aae7.zip |
Use the appropriate function to remove files in the stage directory (#29690)
We shouldn't be using "remove_linked_tree" to remove the lock file,
since that function expects to receive a directory path as an
argument.
Also, as a further measure to avoid regression, this commit restores
the "ignore_errors=True" argument on linux and adds a unit test
checking that "remove_linked_tree" doesn't change file permissions
as a side effect of a failure to remove.
Diffstat (limited to 'var')
0 files changed, 0 insertions, 0 deletions