update-recipe-checksums: error out in case not target is set

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
This commit is contained in:
Andreas Müller
2018-11-10 19:20:27 +01:00
parent 510be13ce3
commit 5d44dfa7da

View File

@@ -14,6 +14,10 @@
# Includes
. `dirname $0`/include/common-helpers.inc
if [ -z "$1" ]; then
ErrorOut "No fetch target set in first parameter!"
fi
# Ask bitbake for recipe directory
GetBitbakeEnvVar "TOPDIR"
_TOPDIR="$BitbakeEnvVar"