diff options
author | Salvatore Bonaccorso <carnil@debian.org> | 2015-10-01 06:40:35 +0000 |
---|---|---|
committer | Salvatore Bonaccorso <carnil@debian.org> | 2015-10-01 06:40:35 +0000 |
commit | 3283bf144aeaea4353f3652a3bf11112210664e9 (patch) | |
tree | 5b85ff728b5ca9b4386051bdb2a378aabe1378fe /check-external/update.sh | |
parent | c61055b66d70e71cf2cddadb00ba19ba0c3067d6 (diff) |
Workaround changes done on https://www.redhat.com/security/data/cve/cve-$year.html
Now not anymore a file which we can download only if it has newer
timestamp, so download on every cronjob run.
git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@36935 e39458fd-73e7-0310-bf30-c45bca0a0e42
Diffstat (limited to 'check-external/update.sh')
-rwxr-xr-x | check-external/update.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/check-external/update.sh b/check-external/update.sh index 7887ce36d5..3a68eee1dc 100755 --- a/check-external/update.sh +++ b/check-external/update.sh @@ -34,7 +34,7 @@ check_list() { # Note: The downloaded html files are Copyright by Red Hat, Inc. # or as specified at the individual html files or elsewhere on redhat.com's website for year in $(seq 1999 $(date +%Y)); do - wget -N https://www.redhat.com/security/data/cve/cve-$year.html + wget -O cve-$year.html https://www.redhat.com/security/data/cve/cve-$year.html done sed -rn '/CVE-[12][0-9]{2,}-/{s/^.+>(CVE-[12][0-9]{3}-[0-9]{4,})<.+$/\1/;T;p}' cve-*.html | sort > cve.list |