summaryrefslogtreecommitdiffstats
path: root/bin/update
blob: 37f8b47f80c3c966ca66a7eb3a29fbb108d21341 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
set -e

if [ ! -d CVE ]; then
	echo "run in data subdirectory" >&2
	exit 1
fi

cd CVE
rm -f allitems.html
wget --quiet http://cve.mitre.org/data/downloads/allitems.html.gz
gunzip allitems.html.gz
../../bin/updatelist allitems.html ../DSA/list ../DTSA/list list > list.new
mv -f list.new list

© 2014-2024 Faster IT GmbH | imprint | privacy policy