author | Andrew F. Davis <afd@ti.com> | |
Tue, 19 Nov 2019 14:42:24 +0000 (09:42 -0500) | ||
committer | Andrew F. Davis <afd@ti.com> | |
Tue, 19 Nov 2019 14:42:24 +0000 (09:42 -0500) | ||
commit | 9eecc3e5407290727c0e41421b0d50a849c19a05 | |
tree | a1b440ab9627ab7641b024e10dfc7cf92b90cfa7 | tree | snapshot (tar.xz tar.gz zip) |
parent | ecd0a55aef6819029190e8b809cdcf72b4111754 | commit | diff |
Use instance unique temporary files to allow parallel execution
This script generates, uses, and then removes some temporary files. When
multiple instance of this script are run this can cause a race between
these actions on the same file. Use 'mktemp' to generate unique temporary
files to prevent this issue and make this tool multi-invocation safe.
Signed-off-by: Andrew F. Davis <afd@ti.com>
This script generates, uses, and then removes some temporary files. When
multiple instance of this script are run this can cause a race between
these actions on the same file. Use 'mktemp' to generate unique temporary
files to prevent this issue and make this tool multi-invocation safe.
Signed-off-by: Andrew F. Davis <afd@ti.com>
scripts/secure-binary-image.sh | diff | blob | history |