Skip to content
Snippets Groups Projects
Commit 0999e8ee authored by Palle Girgensohn's avatar Palle Girgensohn
Browse files

security/go-cve-dictionary: fix bugs in the periodic script

parent b759dfac
No related branches found
No related tags found
No related merge requests found
PORTNAME= go-cve-dictionary
DISTVERSIONPREFIX=v
DISTVERSION= 0.10.1
PORTREVISION= 1
CATEGORIES= security
MAINTAINER= girgen@FreeBSD.org
......
......@@ -25,10 +25,10 @@ fi
# You can add arguments per database, for example
# daily_go_cve_dictionary_nvd_args="2020 2021 2022 2023 2024"
case "${daily_go_cve_dictionary_databases}" in
case "${daily_go_cve_dictionary_enable}" in
[Yy][Ee][Ss])
for db in ${go_cve_dictionary_databases}; do
eval args="\${go_cve_dictionary_${db}_args}"
for db in ${daily_go_cve_dictionary_databases}; do
eval args="\${daily_go_cve_dictionary_${db}_args}"
su -fm %%USERS%% \
-c "/usr/bin/env HOME=/var/db/vuls %%PREFIX%%/bin/go-cve-dictionary fetch ${db} ${args}" \
>> /var/log/vuls/go-cve-dictionary-updates.log 2>&1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment