From 5d44dfa7da881c97352864c3553c52fe543fd5b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= Date: Sat, 10 Nov 2018 19:20:27 +0100 Subject: [PATCH] update-recipe-checksums: error out in case not target is set MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Andreas Müller --- scripts/update-recipe-checksums.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/update-recipe-checksums.sh b/scripts/update-recipe-checksums.sh index c85869f..bec6917 100755 --- a/scripts/update-recipe-checksums.sh +++ b/scripts/update-recipe-checksums.sh @@ -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"