summaryrefslogtreecommitdiff
path: root/security/audit-packages
diff options
context:
space:
mode:
Diffstat (limited to 'security/audit-packages')
-rw-r--r--security/audit-packages/files/download-vulnerability-list7
1 files changed, 4 insertions, 3 deletions
diff --git a/security/audit-packages/files/download-vulnerability-list b/security/audit-packages/files/download-vulnerability-list
index 10621e02266..a3a14901ddd 100644
--- a/security/audit-packages/files/download-vulnerability-list
+++ b/security/audit-packages/files/download-vulnerability-list
@@ -1,5 +1,5 @@
#! ${SH}
-# $NetBSD: download-vulnerability-list,v 1.12 2002/07/04 23:51:28 wiz Exp $
+# $NetBSD: download-vulnerability-list,v 1.13 2002/12/13 11:18:14 uebayasi Exp $
if [ ! -e ${PKGVULNDIR} ]; then
echo "Creating ${PKGVULNDIR}"
@@ -7,9 +7,10 @@ if [ ! -e ${PKGVULNDIR} ]; then
fi
VUL_SOURCE="ftp://ftp.netbsd.org/pub/NetBSD/packages/distfiles/vulnerabilities"
-NEW_VUL_LIST=${PKGVULNDIR}/vulnerabilities.$$
-EXIST_VUL_LIST=${PKGVULNDIR}/vulnerabilities
+NEW_VUL_LIST=vulnerabilities.$$
+EXIST_VUL_LIST=vulnerabilities
+cd ${PKGVULNDIR}
${FETCH_CMD} -o ${NEW_VUL_LIST} ${VUL_SOURCE}
existsize=0
newsize=0