diff options
author | Antonio Arena <antonio.arena@kaust.edu.sa> | 2020-04-13 21:22:29 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-13 13:22:29 -0500 |
commit | 0a6d9f4c550b3b29c12cb1c49d69e9cc5b582b75 (patch) | |
tree | 6269e4a5e1f595da9df2a70db80ca8e3f14ab84e /bin/spack-python | |
parent | 0c28a271ae354492ff3b3b7dcfefa0a3f7085d35 (diff) | |
download | spack-0a6d9f4c550b3b29c12cb1c49d69e9cc5b582b75.tar.gz spack-0a6d9f4c550b3b29c12cb1c49d69e9cc5b582b75.tar.bz2 spack-0a6d9f4c550b3b29c12cb1c49d69e9cc5b582b75.tar.xz spack-0a6d9f4c550b3b29c12cb1c49d69e9cc5b582b75.zip |
Patch Mathematica (#16019)
* Patch Mathematica
Mathematica installer moves all files and directories from installation directory to a backup one. The problem is that it also moves .spack to this backup location. Once it's done it does not move .spack back where it was.
My patch creates a copy of .spack to /tmp then moves it back right before exiting the install call.
* Make lint happy
* Use Spack native copy()
As suggested in peer-review let's:
- Copy .spack to stage directory so I don't have to use random
- Use Spack native copy() to do these operations
* Use join_path to create paths
As per peer-review suggestion:
- Use join_path to create paths
- Use copy_tree since we're copying a directory that could have sub-directories
Diffstat (limited to 'bin/spack-python')
0 files changed, 0 insertions, 0 deletions