Merge pull request #587 from orbea/exit
libretro-buildbot-recipe.sh: Exit early if there is no recipe target
This commit is contained in:
commit
9c2c9cf926
|
@ -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…
Reference in New Issue