mirror of
https://github.com/libretro/libretro-super
synced 2025-03-26 17:37:09 +00:00
libretro-buildbot-recipe.sh: Exit early if no recipe target is passed to the script.
This commit is contained in:
parent
249b70e5f7
commit
04320f9d84
@ -6,6 +6,11 @@
|
||||
LOGDATE=${LOGDATE:-`date +%Y-%m-%d`}
|
||||
TMPDIR="${TMPDIR:-/tmp}"
|
||||
|
||||
if [ -z "${1}" ]; then
|
||||
echo 'No recipe target, exiting.' >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
mkdir -p -- "$TMPDIR/log/${BOT}/${LOGDATE}"
|
||||
|
||||
ORIGPATH=$PATH
|
||||
|
Loading…
x
Reference in New Issue
Block a user