summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoragc <agc>2004-04-27 08:18:49 +0000
committeragc <agc>2004-04-27 08:18:49 +0000
commit12131329eb08b5c957d58d390973c642c9c21838 (patch)
treefd983c49b54d9e29d51daeb326f818582eb2d2c8
parente80e6c04c7d50dce51c4d193777fb7bf24c6b1be (diff)
downloadpkgsrc-12131329eb08b5c957d58d390973c642c9c21838.tar.gz
Pull up bulk build fix to the pkgsrc-2004Q1 branch.
Requested by hubertf in ticket pkgsrc-18. "Catch UPDATE_VULNERABILITY_LIST being unset, default to be conservative and run it if it's not explicitly set to "no""
-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..307991eb637 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.16.2.1 2004/04/27 08:18:49 agc 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