diff options
author | Michael Kuhn <michael.kuhn@informatik.uni-hamburg.de> | 2019-10-17 00:15:24 +0200 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2019-10-16 15:15:24 -0700 |
commit | ffe87ed49f928035bc0bafa5f2b834a38e694b51 (patch) | |
tree | 1a01993ce08937857b3114fa6456d3127bf08527 /LICENSE-MIT | |
parent | 1ef71376f2e2b41229471501e91448858f2df61d (diff) | |
download | spack-ffe87ed49f928035bc0bafa5f2b834a38e694b51.tar.gz spack-ffe87ed49f928035bc0bafa5f2b834a38e694b51.tar.bz2 spack-ffe87ed49f928035bc0bafa5f2b834a38e694b51.tar.xz spack-ffe87ed49f928035bc0bafa5f2b834a38e694b51.zip |
filter_file: fix multiple invocations on the same file (#13234)
Since the backup file is only created on the first invocation, it will
contain the original file without any modifications. Further invocations
will then read the backup file, effectively reverting prior invocations.
This can be reproduced easily by trying to install likwid, which will
try to install into /usr/local. Work around this by creating a temporary
file to read from.
Diffstat (limited to 'LICENSE-MIT')
0 files changed, 0 insertions, 0 deletions