diff --git a/libretro-buildbot-recipe.sh b/libretro-buildbot-recipe.sh index 90b20259..e54ea228 100755 --- a/libretro-buildbot-recipe.sh +++ b/libretro-buildbot-recipe.sh @@ -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