pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/bulk Catch UPDATE_VULNERABILITY_LIST being unset, d...
details: https://anonhg.NetBSD.org/pkgsrc/rev/96a567a4d0a7
branches: trunk
changeset: 472790:96a567a4d0a7
user: hubertf <hubertf%pkgsrc.org@localhost>
date: Mon Apr 12 13:01:52 2004 +0000
description:
Catch UPDATE_VULNERABILITY_LIST being unset, default to be conservative
and run it if it's not explicitly set to "no"
diffstat:
mk/bulk/upload | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r 39f180a65f59 -r 96a567a4d0a7 mk/bulk/upload
--- a/mk/bulk/upload Mon Apr 12 12:34:16 2004 +0000
+++ b/mk/bulk/upload Mon Apr 12 13:01:52 2004 +0000
@@ -1,5 +1,5 @@
#!/bin/sh
-# $NetBSD: upload,v 1.16 2004/03/16 13:55:51 hubertf Exp $
+# $NetBSD: upload,v 1.17 2004/04/12 13:01:52 hubertf Exp $
#
# Upload non-restricted binary pkgs to ftp server
@@ -73,7 +73,7 @@
( cd security/audit-packages ; ${BMAKE} bulk-install )
echo "Making sure vulnerability-list is upto date:"
-if [ $UPDATE_VULNERABILITY_LIST = "yes" ]
+if [ -z "$UPDATE_VULNERABILITY_LIST" -o "$UPDATE_VULNERABILITY_LIST" = "yes" ]
then
env PKGVULNDIR=${distdir} download-vulnerability-list
else
Home |
Main Index |
Thread Index |
Old Index