We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 879504f commit 2e2db09Copy full SHA for 2e2db09
utils.sh
@@ -170,8 +170,8 @@ config_update() {
170
else
171
last_patches=$(gh_req "$rv_rel/tags/${ver}" -)
172
fi
173
- if ! last_patches=$(jq -e -r '.assets[] | select(.name | endswith("$PATCH_EXT")) | .name' <<<"$last_patches"); then
174
- abort oops
+ if ! last_patches=$(jq -e -r --arg ext "$PATCH_EXT" '.assets[] | select(.name | endswith($ext)) | .name' <<<"$last_patches"); then
+ abort "oops"
175
176
if [ "$last_patches" ]; then
177
if ! OP=$(grep "^Patches: ${PATCHES_SRC%%/*}/" build.md | grep "$last_patches"); then
0 commit comments