summaryrefslogtreecommitdiff
path: root/resources/scripts/update/blobs
diff options
context:
space:
mode:
Diffstat (limited to 'resources/scripts/update/blobs')
-rwxr-xr-xresources/scripts/update/blobs/download8
1 files changed, 8 insertions, 0 deletions
diff --git a/resources/scripts/update/blobs/download b/resources/scripts/update/blobs/download
index eebdf0a3..0896ed47 100755
--- a/resources/scripts/update/blobs/download
+++ b/resources/scripts/update/blobs/download
@@ -44,6 +44,14 @@ main()
board="${1}"
boarddir="${cbcfgsdir}/${board}"
+ exit_if_no_config="exit 0"
+ for x in "${boarddir}"/config/*; do
+ if [ -f "${x}" ]; then
+ exit_if_no_config=""
+ fi
+ done
+ eval "${exit_if_no_config}"
+
if [ ! -d "${boarddir}" ]; then
fail "Target not defined"
elif [ ! -f "${boarddir}/board.cfg" ]; then