summaryrefslogtreecommitdiff
path: root/mk/bulk
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>2004-04-12 13:01:52 +0000
committerhubertf <hubertf@pkgsrc.org>2004-04-12 13:01:52 +0000
commit307e455bf22926b2fa8769d7a18c867f77ca31da (patch)
tree863d3cf6ba0e5bbc04cc0a4f67cc1382b4906741 /mk/bulk
parent376f91082dfdb31b748d86b4ac331e246a349789 (diff)
downloadpkgsrc-307e455bf22926b2fa8769d7a18c867f77ca31da.tar.gz
Catch UPDATE_VULNERABILITY_LIST being unset, default to be conservative
and run it if it's not explicitly set to "no"
Diffstat (limited to 'mk/bulk')
-rw-r--r--mk/bulk/upload4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bulk/upload b/mk/bulk/upload
index 73ce7275c70..bcbd7df38bb 100644
--- a/mk/bulk/upload
+++ b/mk/bulk/upload
@@ -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 @@ distdir=`cd pkgtools/pkglint ; ${BMAKE} show-var VARNAME=DISTDIR`
( 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