pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/pkgsrc-2004Q1]: pkgsrc/mk/bulk Pull up bulk build fix to the pkgsrc-2...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8ad725e28372
branches:  pkgsrc-2004Q1
changeset: 471399:8ad725e28372
user:      agc <agc%pkgsrc.org@localhost>
date:      Tue Apr 27 08:18:49 2004 +0000

description:
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""

diffstat:

 mk/bulk/upload |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r f5e820e5aa9c -r 8ad725e28372 mk/bulk/upload
--- a/mk/bulk/upload    Tue Apr 27 08:16:42 2004 +0000
+++ b/mk/bulk/upload    Tue Apr 27 08:18:49 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.16.2.1 2004/04/27 08:18:49 agc 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