libretro-buildbot-recipe.sh: Make sure $TMPDIR exists and is set.

This commit is contained in:
orbea 2017-11-11 16:51:29 -08:00
parent 7082fa633c
commit 6e10171b67

View file

@ -4,6 +4,9 @@
# This will use an overridden value from the command-line if provided, otherwise just use the current date
LOGDATE=${LOGDATE:-`date +%Y-%m-%d`}
TMPDIR="${TMPDIR:-/tmp}"
mkdir -p -- "$TMPDIR/log/${BOT}/${LOGDATE}"
ORIGPATH=$PATH
WORK=$PWD