aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorTim Harder <radhermit@gmail.com>2021-03-04 02:27:03 -0700
committerTim Harder <radhermit@gmail.com>2021-03-04 02:27:03 -0700
commitf048ff739d2e2e374e6f323b3a016355db05bdb3 (patch)
tree1fa3d37dddcd4806ec0e6f16141aac8b0ca89dcd /data
parentdata: use newline-separated format for GentooCI keyword list (diff)
downloadpkgcheck-f048ff739d2e2e374e6f323b3a016355db05bdb3.tar.gz
pkgcheck-f048ff739d2e2e374e6f323b3a016355db05bdb3.tar.bz2
pkgcheck-f048ff739d2e2e374e6f323b3a016355db05bdb3.zip
data/ci.sh: move json url into a separate variable
Diffstat (limited to 'data')
-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