diff options
author | rillig <rillig> | 2005-08-04 12:02:59 +0000 |
---|---|---|
committer | rillig <rillig> | 2005-08-04 12:02:59 +0000 |
commit | b845b5a1f02802e8c69ad8acbe1dd7328b12e47a (patch) | |
tree | 7865407db9bfff244ac091ee2c195b7680063315 /security | |
parent | dff63f2027852427c7c9957d5c27240afc077ca9 (diff) | |
download | pkgsrc-b845b5a1f02802e8c69ad8acbe1dd7328b12e47a.tar.gz |
Fixed the number of backslashes in the version checking code.
Diffstat (limited to 'security')
-rw-r--r-- | security/audit-packages/Makefile | 4 | ||||
-rwxr-xr-x | security/audit-packages/files/audit-packages | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/security/audit-packages/Makefile b/security/audit-packages/Makefile index 0d587a20620..270a8ed2e7b 100644 --- a/security/audit-packages/Makefile +++ b/security/audit-packages/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.58 2005/06/20 09:29:44 tron Exp $ +# $NetBSD: Makefile,v 1.59 2005/08/04 12:02:59 rillig Exp $ -DISTNAME= audit-packages-1.37 +DISTNAME= audit-packages-1.38 CATEGORIES= security pkgtools MASTER_SITES= # empty DISTFILES= # empty diff --git a/security/audit-packages/files/audit-packages b/security/audit-packages/files/audit-packages index c75e5a11b35..6f60d15c177 100755 --- a/security/audit-packages/files/audit-packages +++ b/security/audit-packages/files/audit-packages @@ -1,6 +1,6 @@ #! @SH@ # -# $NetBSD: audit-packages,v 1.21 2005/06/19 12:14:39 adrianp Exp $ +# $NetBSD: audit-packages,v 1.22 2005/08/04 12:02:59 rillig Exp $ # # Copyright (c) 2000-2003 Alistair Crooks. All rights reserved. # @@ -88,8 +88,8 @@ esac case "$errmsg" in "") # check format version of vulnerabilities file - file_major=`@AWK@ '$1 == "#FORMAT" { split($2, a, "\\."); print a[1] }' "$vuls"` - file_minor=`@AWK@ '$1 == "#FORMAT" { split($2, a, "\\."); print a[2] }' "$vuls"` + file_major=`@AWK@ '$1 == "#FORMAT" { split($2, a, "\\\\."); print a[1] }' "$vuls"` + file_minor=`@AWK@ '$1 == "#FORMAT" { split($2, a, "\\\\."); print a[2] }' "$vuls"` if [ "x$file_major" = "x" -o "x$file_minor" = "x" ] then errmsg="No file format version found in $vuls" |