diff options
author | Sergey Kosukhin <sergey.kosukhin@mpimet.mpg.de> | 2021-01-27 20:41:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-27 11:41:07 -0800 |
commit | 4d7a9df810af4f0f7cae8424e1f8b2579aa90b58 (patch) | |
tree | e027a517f9f3cfca3f636ddc0baa69bb8a279b35 /COPYRIGHT | |
parent | f2c98a853748b2a80b1d17eae00aa5f40a584c7d (diff) | |
download | spack-4d7a9df810af4f0f7cae8424e1f8b2579aa90b58.tar.gz spack-4d7a9df810af4f0f7cae8424e1f8b2579aa90b58.tar.bz2 spack-4d7a9df810af4f0f7cae8424e1f8b2579aa90b58.tar.xz spack-4d7a9df810af4f0f7cae8424e1f8b2579aa90b58.zip |
Add a context wrapper for mtime preservation (#21258)
Sometimes we need to patch a file that is a dependency for some other
automatically generated file that comes in a release tarball. As a
result, make tries to regenerate the dependent file using additional
tools (e.g. help2man), which would not be needed otherwise.
In some cases, it's preferable to avoid that (e.g. see #21255). A way
to do that is to save the modification timestamps before patching and
restoring them afterwards. This PR introduces a context wrapper that
does that.
Diffstat (limited to 'COPYRIGHT')
0 files changed, 0 insertions, 0 deletions