From 280f34ce02298eaac484c1b88b9a05181300006f Mon Sep 17 00:00:00 2001 From: David Holdeman Date: Thu, 6 May 2021 22:41:28 -0500 Subject: [PATCH] add check (#2639) --- misc/jenkins/generate_pinouts/gen_upload_pinouts.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/misc/jenkins/generate_pinouts/gen_upload_pinouts.sh b/misc/jenkins/generate_pinouts/gen_upload_pinouts.sh index 99ae48b885..1dc4727d4f 100644 --- a/misc/jenkins/generate_pinouts/gen_upload_pinouts.sh +++ b/misc/jenkins/generate_pinouts/gen_upload_pinouts.sh @@ -21,6 +21,9 @@ for c in $CONNECTORS; do fi file $DIR/index.html IMG=$(yq r $c 'info.image.file') + if [ $? -ne 0 ]; then + exit 1; + fi echo "IMG "$IMG if [ $IMG ]; then cp $(dirname $c)/$IMG $DIR