diff options
author | 2016-05-27 13:43:08 -0700 | |
---|---|---|
committer | 2016-05-29 20:06:43 +0000 | |
commit | 90e3882722933f533da5099036ededd15c263751 (patch) | |
tree | f52ab86f2cef1fc598a8b14829aaec3763a2511e | |
parent | Add envscript for more infra boxes. (diff) | |
download | releng-90e3882722933f533da5099036ededd15c263751.tar.gz releng-90e3882722933f533da5099036ededd15c263751.tar.bz2 releng-90e3882722933f533da5099036ededd15c263751.zip |
catalyst-auto: datestamp tmpdir for ease of debug.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-rwxr-xr-x | tools/catalyst-auto | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/catalyst-auto b/tools/catalyst-auto index 2598fd50..e0388980 100755 --- a/tools/catalyst-auto +++ b/tools/catalyst-auto @@ -198,8 +198,8 @@ if [[ ${lastrun} -ne 0 ]]; then fi fi -TMPDIR=$(mktemp -d --tmpdir="${TMP_PATH:-/tmp}" catalyst-auto.XXXXXX) DATESTAMP=$(date +%Y%m%d) +TMPDIR=$(mktemp -d --tmpdir="${TMP_PATH:-/tmp}" catalyst-auto.${DATESTAMP}.XXXXXX) # Nuke any previous tmpdirs to keep them from accumulating. if [[ ${preclean} -eq 1 ]]; then |