/[secure-testing]/bin/update
ViewVC logotype

Contents of /bin/update

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1672 - (show annotations) (download)
Sat Aug 27 17:07:18 2005 UTC (7 years, 8 months ago) by joeyh
File size: 501 byte(s)
Moved programs into bin directory so data can be auto-updated w/o opening
any potential holes for committers who lack access to the machine running
the update. AKA my paranioa finally caught up to me.

Didn't move DTSA still since it will be rewritten anyway.
1 #!/bin/sh
2 set -e
3
4 if [ ! -d CVE ] || [ ! -d CAN ]; then
5 echo "run in data subdirectory" >&2
6 exit 1
7 fi
8
9 cd CVE
10 rm -f full-cve.html
11 wget --quiet http://www.cve.mitre.org/cve/downloads/full-cve.html
12 ../../bin/updatelist full-cve.html ../DSA/list ../DTSA/list list > list.new
13 mv -f list.new list
14 cd ..
15
16 cd CAN
17 rm -f full-can.html
18 wget --quiet http://www.cve.mitre.org/cve/candidates/downloads/full-can.html
19 ../../bin/updatelist full-can.html ../DSA/list ../DTSA/list list > list.new
20 mv -f list.new list

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.5