Skip to content

Commit

Permalink
flathub_list_updater.sh: fix jq: Argument list too long
Browse files Browse the repository at this point in the history
  • Loading branch information
SmartFinn committed Oct 1, 2021
1 parent 9e07ed1 commit 041390f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/flathub_list_updater.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ env MARKDOWN=1 bash "$SCRIPT_DIR/missing_flathub_apps.sh" > "$missing_apps_list"

if ! diff -w --brief "$unchecked_apps_list" "$missing_apps_list" >/dev/null; then
echo "Uptading issue #${API_ENDPOINT##*/} ..." >&2
jq --null-input --compact-output \
--arg body "$(cat "$missing_apps_list" "$completed_apps_list")" '{$body}' |
jq --compact-output --raw-input --slurp '. as $body | {$body}' \
"$missing_apps_list" "$completed_apps_list" |
curl \
--silent \
--output /dev/null \
Expand Down

0 comments on commit 041390f

Please sign in to comment.