catalyst-auto: set DATESTAMP again

This var is still used by some arches' catalyst-auto configs

Signed-off-by: Ben Kohler <bkohler@gentoo.org>
This commit is contained in:
Ben Kohler 2020-05-11 13:53:55 -05:00
parent 7fdd64be50
commit 05592ee0b7
No known key found for this signature in database
GPG key ID: 7A85BDA4D57605C7

View file

@ -298,6 +298,7 @@ run_catalyst_commands() {
exit 1
fi
fi
DATESTAMP=$(date -u +%Y%m%d)
TMPDIR=$(mktemp -d --tmpdir="${TMP_PATH:-/tmp}" "catalyst-auto.${TIMESTAMP}.XXXXXX")
# Nuke any previous tmpdirs to keep them from accumulating.