summaryrefslogtreecommitdiffstats
path: root/bin/update
blob: 3a464e9962e19b89d4c7d7b3da5f8e4381b056c1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh
set -e

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

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

cd CAN
rm -f full-can.html
wget --quiet http://www.cve.mitre.org/cve/candidates/downloads/full-can.html
../../bin/updatelist full-can.html ../DSA/list ../DTSA/list list > list.new
mv -f list.new list

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