summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2016-05-27 13:43:08 -0700
committerJorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>2016-05-29 20:06:43 +0000
commit90e3882722933f533da5099036ededd15c263751 (patch)
treef52ab86f2cef1fc598a8b14829aaec3763a2511e
parentAdd envscript for more infra boxes. (diff)
downloadreleng-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-xtools/catalyst-auto2
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