diff options
author | Michael Kuhn <michael.kuhn@informatik.uni-hamburg.de> | 2018-12-19 14:08:39 +0100 |
---|---|---|
committer | Peter Scheibel <scheibel1@llnl.gov> | 2019-01-04 17:04:28 -0800 |
commit | 41ef02ee1009a86d040314433a3823ca3dd13a02 (patch) | |
tree | ac00e47730cb933ae07fd0d6eecdbbf89ef947be /share | |
parent | 5450303c975e34265f6fda3c014b9aed7d002a3c (diff) | |
download | spack-41ef02ee1009a86d040314433a3823ca3dd13a02.tar.gz spack-41ef02ee1009a86d040314433a3823ca3dd13a02.tar.bz2 spack-41ef02ee1009a86d040314433a3823ca3dd13a02.tar.xz spack-41ef02ee1009a86d040314433a3823ca3dd13a02.zip |
stage: fix resources being deleted from local cache (#10152)
Non-expanded resources were being deleted from the cache on account
of two behaviors:
* ResourceStage was moving files rather than copying them, and uses
"os.path.realpath" to resolve symlinks
* CacheFetchStrategy creates a symlink to a cached resource rather
than copying it
This alters the first behavior: ResourceStage now copies the file
rather than moving it.
Diffstat (limited to 'share')
0 files changed, 0 insertions, 0 deletions