diff --git a/utils.sh b/utils.sh index 77b4c0b..3cdba21 100755 --- a/utils.sh +++ b/utils.sh @@ -119,7 +119,7 @@ config_update() { fi else sources[$PATCHES_SRC]=0 - if ! last_patches_url=$(gh_req "https://api.github.com/repos/${PATCHES_SRC}/releases/latest" - 2>&1 \ + if ! last_patches_url=$(gh_req "https://api.github.com/repos/${PATCHES_SRC}/releases/latest" - \ | jq -e -r '.assets[] | select(.name | endswith("jar")) | .name'); then abort oops fi