aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdata/ci.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/data/ci.sh b/data/ci.sh
index 9d022036..5a0baa21 100755
--- a/data/ci.sh
+++ b/data/ci.sh
@@ -3,7 +3,8 @@
# Requires bash, curl, and jq installed.
# pull latest CI keyword errors
-keywords=$(curl -s https://raw.githubusercontent.com/mgorny/pkgcheck2html/master/pkgcheck2html.conf.json | jq -r 'to_entries | .[] | select(.value == "err") | .key' | sort)
+JSON_URL="https://raw.githubusercontent.com/mgorny/pkgcheck2html/master/pkgcheck2html.conf.json"
+keywords=$(curl -s ${JSON_URL} | jq -r 'to_entries | .[] | select(.value == "err") | .key' | sort)
# replace checkset in bundled config
cat << EOF > pkgcheck.conf