summaryrefslogtreecommitdiff
path: root/mk/bulk/upload
diff options
context:
space:
mode:
authorhubertf <hubertf>2004-04-12 13:01:52 +0000
committerhubertf <hubertf>2004-04-12 13:01:52 +0000
commit27ab685eaf765c66796323570beaec478ab0024e (patch)
tree863d3cf6ba0e5bbc04cc0a4f67cc1382b4906741 /mk/bulk/upload
parenta940ad117fbd26d7c79d63de94be002ef4601344 (diff)
downloadpkgsrc-27ab685eaf765c66796323570beaec478ab0024e.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/upload')
-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