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 | bb74b7607a8cbcf534c777416fc325944c5cf1c7 (patch) | |
tree | 7d19612006932941b5fcc84020f9405e3d5d3abd /check-external | |
parent | a571b597d131d336f52e50ab16500c7735949b63 (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')
-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 |