summaryrefslogtreecommitdiff
path: root/mk/scripts
diff options
context:
space:
mode:
authorsalo <salo>2006-04-15 15:00:24 +0000
committersalo <salo>2006-04-15 15:00:24 +0000
commit59d69728a7afe28090e34b83c9d305a45f9185ec (patch)
tree7739047f4675bdc3d8b2a2d6f9b851041dc8e60d /mk/scripts
parent3c42d31e7d0007d9ad56b9bfdcdf54b4a341cffa (diff)
downloadpkgsrc-59d69728a7afe28090e34b83c9d305a45f9185ec.tar.gz
Back to pkg-vulnerabilities format 1.0.0.
Diffstat (limited to 'mk/scripts')
-rwxr-xr-xmk/scripts/genreadme.awk6
1 files changed, 2 insertions, 4 deletions
diff --git a/mk/scripts/genreadme.awk b/mk/scripts/genreadme.awk
index 5f3ff38cfaf..fcd769c4919 100755
--- a/mk/scripts/genreadme.awk
+++ b/mk/scripts/genreadme.awk
@@ -1,5 +1,5 @@
#!/usr/bin/awk -f
-# $NetBSD: genreadme.awk,v 1.21 2006/01/17 23:52:17 dmcmahill Exp $
+# $NetBSD: genreadme.awk,v 1.22 2006/04/15 15:00:24 salo Exp $
#
# Copyright (c) 2002, 2003, 2005, 2006 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -277,9 +277,7 @@ END {
}
if ($0 !~ /^\#/) {
vulpkg[i] = $1;
- j = match($2, /,/);
- vultype[i] = substr($2, j+1);
- vulid[i] = substr($2, 1, j-1);
+ vultype[i] = $2;
vulref[i] = $3;
i = i + 1;
}