From e40ff8cf5b8e68f08f7ebd177133292475f31b09 Mon Sep 17 00:00:00 2001 From: Andrey Date: Wed, 30 Jun 2021 10:08:19 -0400 Subject: [PATCH] unknown command "r" for "yq" drama with pinout #2880 --- misc/jenkins/generate_pinouts/gen_upload_pinouts.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/misc/jenkins/generate_pinouts/gen_upload_pinouts.sh b/misc/jenkins/generate_pinouts/gen_upload_pinouts.sh index 26b7ab8513..6f987f2fd5 100644 --- a/misc/jenkins/generate_pinouts/gen_upload_pinouts.sh +++ b/misc/jenkins/generate_pinouts/gen_upload_pinouts.sh @@ -16,12 +16,12 @@ for c in $CONNECTORS; do echo "NAME "$NAME mkdir -p $DIR if [ -f $DIR/index.html ]; then - bash misc/pinout-gen/append.sh "$(yq -j r $c)" $DIR/index.html + bash misc/pinout-gen/append.sh "$(yq -j e $c)" $DIR/index.html else - bash misc/pinout-gen/gen.sh "$(yq -j r $c)" $DIR/index.html + bash misc/pinout-gen/gen.sh "$(yq -j e $c)" $DIR/index.html fi file $DIR/index.html - IMG=$(yq r $c 'info.image.file') + IMG=$(yq e '.info.image.file' $c) if [ $? -ne 0 ]; then exit 1; fi