diff options
author | Tim Harder <radhermit@gmail.com> | 2021-03-04 02:27:03 -0700 |
---|---|---|
committer | Tim Harder <radhermit@gmail.com> | 2021-03-04 02:27:03 -0700 |
commit | f048ff739d2e2e374e6f323b3a016355db05bdb3 (patch) | |
tree | 1fa3d37dddcd4806ec0e6f16141aac8b0ca89dcd /data | |
parent | data: use newline-separated format for GentooCI keyword list (diff) | |
download | pkgcheck-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-x | data/ci.sh | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |